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.
To summarised it's 2 lines of code to ensure that the minimum with it not 0. However if the ng-model array (here colors) is not empty when init then the initialised width is too big and it creates a new line instead of proper sized placeholder. Not sure how to do better to avoid conflict with ng-show.
Should I create a pull request?
The text was updated successfully, but these errors were encountered:
laguiz
changed the title
[Quick fix inside] Multiselect issue with ng-show initialised to false
Multiselect issue with ng-show initialised to false [Quick fix and demo inside]
Sep 23, 2014
If an
ui-select multiple
is initialised withng-show="false"
then input placeholder width is set to 0.Based on version 0.7.0 - 2014-09-09T01:02:43.608Z
Demo bugged version : http://plnkr.co/edit/Cv1NI0MkUP7ZFX2Ravqv?p=preview
Demo quick fixed version : http://plnkr.co/edit/YCMF0CEb0Xs4rIsTDNsq?p=preview
To summarised it's 2 lines of code to ensure that the minimum with it not
0
. However if the ng-model array (herecolors
) is not empty when init then the initialisedwidth
is too big and it creates a new line instead of proper sized placeholder. Not sure how to do better to avoid conflict withng-show
.Should I create a pull request?
The text was updated successfully, but these errors were encountered: