Knockout-Validation icon indicating copy to clipboard operation
Knockout-Validation copied to clipboard

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

Open kelsosharp opened this issue 8 years ago • 0 comments

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

kelsosharp avatar Jan 30 '17 23:01 kelsosharp