Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid input highlighting in error #85

Open
chris904apps opened this issue Jun 20, 2016 · 0 comments
Open

Invalid input highlighting in error #85

chris904apps opened this issue Jun 20, 2016 · 0 comments

Comments

@chris904apps
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant