Flask-modals

Latest version: v0.5.1

Safety actively analyzes 623355 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.5.0

- modal backdrop problem will not occur.
- No need for an IIFE to code custom javascript.
- Python code is simplified at the expense of a few extra lines.

0.4.1

- Replaced parser with simple string matching
- Tested uploading of file thru a modal
- Submitter element included with form data sent to server.

0.4.0

- Dropped turbo.js
- Removed `beautifulsoup` dependency. Now builtin parser is used.
- Simpler and cleaner interface.
- Fixed issue regarding assets being reused in page loaded by form submit. No need of `redirect_to` and `render_template_redirect`.
- `data-turbo=false` will not be set on the body tag of every page, as turbo.js is not being used.

To be done
- Enable file upload via modal.
- Fix to send submit button value along with form data.

0.3.0

- Support for bootstrap 5 modals.
- Examples folder now has an app using bootstrap 5.

0.2.8

- Removed the `Turbo` class and converted its methods into functions.
- Updated comments in `modal.py`

0.2.7

- Replaced the built-in html parser with beautiful soup.
- New `response` decorator to handle calls to `render_template_modal`.
- Turbo library now always loaded.
- Links outside the modal form will not need a `data-turbo="false"` attribute now.
- Can reload the page on form submit, if needed.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.