Geotrek-admin icon indicating copy to clipboard operation
Geotrek-admin copied to clipboard

Weblinks in trek form and Chosen widget

Open leplatrem opened this issue 11 years ago • 4 comments

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)

selection_490

leplatrem avatar Nov 12 '14 11:11 leplatrem

If we choose to fix it (and maybe generalize it) we could switch from chosen to django-autocompletelight.

marcantoinedupre avatar Jan 24 '24 13:01 marcantoinedupre

Haven't played with it yet, but I hear a lot about htmx https://pypi.org/project/django-htmx-autocomplete/

leplatrem avatar Jan 24 '24 15:01 leplatrem

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.

camillemonchicourt avatar Jan 24 '24 15:01 camillemonchicourt

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.

camillemonchicourt avatar Mar 13 '24 21:03 camillemonchicourt