Currently we use 4 different things:
<select>
– simplest from the browser directly@nextcloud/javascript & @nextcloud/designers would it be possible to maybe decide on one or maximum two to use consistently?
Also cc @georgehrke @ChristophWurst @schiessle @Henni @icewind1991 because these things are heavily used in apps and user management.
Where are they used:
[ ] /apps/user_ldap/vendor/ui-multiselect/src/jquery.multiselect.js
in the LDAP app:
[ ] select2 core:
:D
Clearly will help regroup the various styles we're using.
See #1805 for all the fixes we got
@nextcloud/javascript & @nextcloud/designers would it be possible to maybe decide on one or maximum two to use consistently?
I already tried to do so, but it sounds easier than it actually is. This is a really tough task, but we should do.
While the vuejs apps start rolling out, my choice has been into vue-multiselect. Which allows tagging, creation, multi and simple select. I implemented the new design into the vu settings migration here #8824 .
Looks very nice, supports array and objects, is highly supported... :)
@skjnldsv good stuff! Do we still need to have this open for tracking, like do you have an overview where the old method of select is still used where it needs to be replaced?
Yes because we still have some old legacy stuff laying around! :)
@skjnldsv feel free to update the first comment to list all the remaining things that need to be cleaned up. So people can easily see/track/tackle/fix it ;)
@skjnldsv feel free to update the first comment to list all the remaining things that need to be cleaned up. So people can easily see/track/tackle/fix it ;)
I added the stuff for select2 and core/js/multiselect
Thanks @MorrisJobke
@skjnldsv @MorrisJobke a lot of progress has been made on this, right? Do we still need this overview issue and should we rather work on a case-by-case basis?
I guess this is just a matter of deprecating it so we can unship the libs in 3 versions :)
I guess this is just a matter of deprecating it so we can unship the libs in 3 versions :)
In reality we also need to move our own stuff away from it. 😉 (that is the real major part after deprecating something)
Most helpful comment
While the vuejs apps start rolling out, my choice has been into vue-multiselect. Which allows tagging, creation, multi and simple select. I implemented the new design into the vu settings migration here #8824 .
Looks very nice, supports array and objects, is highly supported... :)