Knockout-Validation
Knockout-Validation copied to clipboard
errorMessageClass is not getting applied when using insertMessage is true on select lists
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