Geotrek-admin
Geotrek-admin copied to clipboard
Weblinks in trek form and Chosen widget
Two problems:
- Apparence of add button (could be simple + like on screenshot)
- Chosen choices list is not refreshed after adding a weblink from popup (disabling chosen is a pity, since it brings completion)

If we choose to fix it (and maybe generalize it) we could switch from chosen to django-autocompletelight.
Haven't played with it yet, but I hear a lot about htmx https://pypi.org/project/django-htmx-autocomplete/
This PR fix the fact that new items added are dynamically added in the list that is reloaded, without refreshing the page : https://github.com/makinacorpus/django-mapentity/pull/283 But yes, maybe there is a better tool to improve it.
Depuis la 2.102.2, quand on ajoute un lien web (ou un organisateur d'un événement) depuis la popup, celui-ci est directement ajouté à l'objet sans devoir rafraîchir le formulaire.