tail.select.js
tail.select.js copied to clipboard
Keep the original selected value in <select> when searching value is out of range
Hi. Appreciated if you can help for this issue. I'm using v0.5.22 tail.select. Let's say the original selected value was 5 and the option list is from 1 to 100 and I enter 1009 in the Search box. The "No Options available" message is now shown in the list as well as in the Select box. When I just tab out or click outside the control, the message stays in the Select box. Is there a way to present the original value 5 instead...without manipulating with the innerHTML for span.label-inner myself (plus this does not seem to work for multiple tail.select boxes too, the 1st one does work)? Thanks. David