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
In the project I'm working on we have a few places where only 1 selection is to be made (maxSelect is 1). After making the selection the <input> unnecessarily takes up space, which makes CSS work harder when trying to fit everything, so I'm proposing that it is omitted in that case. I'm creating a PR for this (yay, my first code contribution to an open source project ever!).
The text was updated successfully, but these errors were encountered:
janosh
changed the title
Can the input at the end be omitted when a selection has been made and maxSelect is 1?<input> unnecessarily increases Multiselect width
Dec 2, 2022
In the project I'm working on we have a few places where only 1 selection is to be made (
maxSelect
is 1). After making the selection the<input>
unnecessarily takes up space, which makes CSS work harder when trying to fit everything, so I'm proposing that it is omitted in that case. I'm creating a PR for this (yay, my first code contribution to an open source project ever!).The text was updated successfully, but these errors were encountered: