jquery-simple-combobox
jquery-simple-combobox copied to clipboard
Invalid input highlighting in error
I have a select list that has folder directories in it and it is showing that my value is incorrect when it is initially set by server. It looks like the following line need to be updated:
var $selected = $select.children('[value="' + value + '"]');
inside of the setValue function to:
var $selected = $select.find('option').filter(function() { return this.value == value; }); and then i think it will be able to find it correctly.