InvalidCssClass property doesn't convert correctly to html
Closed this issue · 1 comments
daltinkurt commented
test code:
<dot:Validator Value="{value: MyValue}" InvalidCssClass="error" > !!! </dot:Validator>
and the html code is:
<span data-bind="dotvvmValidation: MyValue, dotvvmValidationOptions: { 'hideWhenValid': true, 'ınvalidCssClass': "error" }" style="display: none;"> !!! </span>
because of ınvalidCssClass (not invalidCssClass) an error is displayed at console tab:
knockout:75 Uncaught TypeError: Unable to process binding "dotvvmValidation: function(){return MyValue }"
Message: dotvvm.validation.elementUpdateFunctions[o] is not a function
at d.applyValidatorOptions (dotvvm--internal:1)
at update (dotvvm--internal:1)
at a.N.l (knockout:75)
at Function.dd (knockout:54)
at Function.ed (knockout:53)
at Function.ea (knockout:53)
at Object.a.u.a.N (knockout:51)
at knockout:75
at Object.D (knockout:12)
at k (knockout:74)
There is a problem with translating capital I into lowercase letter i
at Elements tab if i change "ı" to "i" code works.
daltinkurt commented
sorry, wrong place :(