angular-ui-select

ui select angularjs set maxlength for input value (ui select match)

喜你入骨 提交于 2019-12-02 05:43:33
I want an extra attribute just like "Placeholder" is passing from ui select match. I want to set maxlength of select input. I can set it through select.min.js adding attribute maxlength="" but i think making change to lib. file is not a solution. Just like i have adde maxlength="500" in input please help me around. Thanks You can limit your collection using the angular's limitTo filter. Look at the limitTo reference. As per my understanding, you are using ui-select with tagging (as combo-box). in this to achieve your desired functionality: go to ui-select plugin.js and edit the template