You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each time applyGlobalStyles is called a map div is appended to the DOM after the textarea. I added logging in processLeafletWidget and see that there are two calls:
In form.js:
// Apply global styles for current page after page loaded
$(function() {
faForm.applyGlobalStyles(document);
});
and bs4_modal.js
$(function() {
// Apply flask-admin form styles after the modal is loaded
window.faForm.applyGlobalStyles(document);
});
I don't know if both calls to applyGlobalStyles are needed. A hack fix is exiting processLeafletWidget if the textarea is already hidden.
The text was updated successfully, but these errors were encountered:
Update flask-admin to a branch that is only one commit away from the public head. The extra commit is needed as a work-around for pallets-eco/flask-admin#2351
The update fixes
```
tourist/tests/test_basic.py::test_heavy
/home/thecap/.pyenv/versions/tourist-3.10.7/lib/python3.10/site-packages/flask_admin/form/widgets.py:2: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.4.
from flask.globals import _request_ctx_stack
```
thanks to pallets-eco/flask-admin#2286.
Each time
applyGlobalStyles
is called a map div is appended to the DOM after the textarea. I added logging in processLeafletWidget and see that there are two calls:In form.js:
and bs4_modal.js
I don't know if both calls to applyGlobalStyles are needed. A hack fix is exiting processLeafletWidget if the textarea is already hidden.
The text was updated successfully, but these errors were encountered: