Thanks Jacob. 

We have the functionality of the selects working fine, it's just finding a 
way to make it clear to the user that the selected options that are 
filtered out are still in fact selected and will be sent as such in the 
POST. 

Thanks for the info though, I'll take  look. 

On Monday, 15 August 2022 at 22:38:36 UTC+1 jacob...@gmail.com wrote:

> I'have implemented such a widget in django-formset 
> <https://django-formset.fly.dev/>. It just hides (removes) the selected 
> options which have been filtered out.
> Otherwise, filtering by muting options, wouldn't have the desired visual 
> effect.
>
> Please note that in order to implement this feature, I used three <select 
> multiple> elements, two of them visible (the left
> and right one) and one hidden, which contains the currently selected 
> options, even if filtered. A nice side-effect of this
> architecture is, that it allows autocompletion for long source lists, and 
> in addition, undoing and redoing a selection.
>
> Please check in the link from above the example:
>  *> Default *(or any other CSS framework) *> Opinion*.
>
> – Jacob
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/de7bc647-a408-426e-8572-97f2b1c00873n%40googlegroups.com.

Reply via email to