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

errorMessageClass is not getting applied when using insertMessage is true on select lists #640

Open
kelsosharp opened this issue Jan 30, 2017 · 0 comments

Comments

@kelsosharp
Copy link

kelsosharp commented Jan 30, 2017

If you want to change the errorMessageClass for a knockout bound select that dynamically loads its options, the auto generated span uses the default "validationMessage" instead of the correct class. Also if you try to use your own span, it will create the auto generated one in addition to the existing span.
One more thing, if you try to set the options in the data-bind="validationOptions" they are ignored because the node[domDataKey] always returns undefined for the select element

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