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
{{ message }}
This repository was archived by the owner on Oct 2, 2019. It is now read-only.
I'd like to request the addition of a new option to ui-select-match (or ui-select) as a flag which would let the user to choose if the placeholder should be always visible independently if there're already selected items or not.
In some situations when you have a multiple choices ui-select it'd be interesting to have the placeholder always visible, i.e. "Add tags...", it'd be more intuitive to the user to click on that place to start writing and adding more tags (i.e. the LinkedIn endorsements input).
According to what i saw on the source it's just a matter of adding the attribute and adjusting the getPlaceholder() method located on the uiSelectMultiple directive. (I'll try to implement this and make a pull-request)
For now I've achieved the same effect by overriding the "bootstrap/select-multiple.tpl.html" template (because I'm using the bootstrap theme) and displaying $select.placeholder directly instead of relying on getPlaceholder() return value, but this is not that elegant and is more difficult to maintain.
The text was updated successfully, but these errors were encountered:
I'd like to request the addition of a new option to ui-select-match (or ui-select) as a flag which would let the user to choose if the placeholder should be always visible independently if there're already selected items or not.
In some situations when you have a multiple choices ui-select it'd be interesting to have the placeholder always visible, i.e. "Add tags...", it'd be more intuitive to the user to click on that place to start writing and adding more tags (i.e. the LinkedIn endorsements input).
According to what i saw on the source it's just a matter of adding the attribute and adjusting the getPlaceholder() method located on the uiSelectMultiple directive. (I'll try to implement this and make a pull-request)
For now I've achieved the same effect by overriding the "bootstrap/select-multiple.tpl.html" template (because I'm using the bootstrap theme) and displaying $select.placeholder directly instead of relying on getPlaceholder() return value, but this is not that elegant and is more difficult to maintain.
The text was updated successfully, but these errors were encountered: