Join the Stack Overflow Community
Stack Overflow is a community of 6.2 million programmers, just like you, helping each other.
Join them; it only takes a minute:
Sign up

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

share|improve this question
    
If i understood you correctly, this is what you want to achieve (check the dropdown out there) john-oc.github.io – Mr.7 Sep 28 at 9:15

You can limit your collection using the angular's limitTo filter. Look at the limitTo reference.

share|improve this answer
    
I dont want max length for the drop down. I want to implement maxlength for that search box which take that value to be search within from dropdown. Hope you got my question now ? – Puneet.Gupta Sep 28 at 8:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.