miket-dev / multiselect

Pure js multiselect implementation
MIT License
38 stars 30 forks source link

Config setting for truncation value #12

Open adrianbj opened 4 years ago

adrianbj commented 4 years ago

Thanks for a great script!

I think it would be very useful to have a setting that could be passed to change the current value of 20 that is used in _updateText to determine where to truncate long entries. I have set the width of the input box much wider than comes with the default css and it would be helpful to be able to adjust this without modifying the core code.