You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the new release is pretty close here are the changes I could extract since version 1.0.2 was released 5837f77. If you belive something is missing or incorrect please leave a comment. Version 2.0 is not yet released but I think it's important to have a nice picture of what's changed between these versions. Please note that changes are still expected to happen until release and they will be logged here.
As the new release is pretty close here are the changes I could extract since version 1.0.2 was released 5837f77. If you belive something is missing or incorrect please leave a comment. Version 2.0 is not yet released but I think it's important to have a nice picture of what's changed between these versions. Please note that changes are still expected to happen until release and they will be logged here.
Features
errorsAsTitle
to disable setting element 'title' with error description. Default istrue
Config to disable setting errors as 'title' #168grouping.live
to react to changes to observableArrays observable groups do not react to changes in observableArrays #223decorateElementOnModified
Added config option decorateElementOnModified #320allowHtmlMessages
for allowing HTML in validation messages New configuration option for allowing HTML in validation messages #364validate.throttle
to imlement throttling for validation Internal validation computed evaluates each time when rules or observable value is changed #344any
HTML5 step attribute can have value "any" #271setRules
method 266 mass apply rules #337validatedObservable
validatedObservable group options #461textInput
binding Knockout-validation doesn't show error message with 'textInput' binding #451selectedOptions
binding support validation for selectedOptions handler #426Bug Fixes
formatMessage
Strange behaviour with custom "sameAs" validator #235phoneUS
validation checks to preserve optional properties if observable is not initialized or null. Allow phoneUS rule to pass when observable value is null #234addAnonymousRule
rules Memory leaks in addAnonymousRule #346params
which may be undefined Handle params which may be undefined. #334unique
rule can behave incorrectly for external values Unique validation can behave incorrectly for external values #365onlyIf
doesn’t affect anonymous validation rule 'onlyIf' doesn't affect anonymous validation rules #374group
returns observables in errors array, not the value #383validatedObservable
Initial value of IsValid of validatedObservable is not correct. #387formatMessage
aware if min and max rules were created from Javascript HTML5 attributes: incorrect error message. #385writeInputAttributes
fails when anonymous rules are used Anonymous rules fail when writeInputAttributes = true #400maxLength
rule fails if the value (of the observable) is a number maxLength fails if observable happens to be a number rather than a string #457applyBindingsWithValidation
fails when called with viewModel and options applyBindingsWithValidation without rootNode, but with options #137applyBindingsWithValidation
should extend provided config applyBindingsWithValidation should extend provided config #472dateISO
rule accepts months or days outside the valid range dateISO could be more flexible #265writeInputValidationAttributes
does not support write HTML5 attributes correctly whenparams
is observable Min and max doesnt support observables #481ko.validation.group
to notify with intermediary validation state ko.validation.group unexpected null entry #99isModified
when grouping over validatedObservable instances showAllMessages fix isModified access #269validatedObservable
does not react when its value changes validatedObservable bug when the initial value is undefined #442parseInputAttributes
option may duplicate rules when enabled Rules are added multiple times when options.parseInputAttributes and options.writeInputAttributes are both set to true. #277Breaking Changes
ko.validation.configure
method,ko.validation.init
must be used instead Remove deprecated methods #496decorateElement
todecorateInputElement
Minor fixes #361group
method Do not change original data by kv.group #465, Do not add properties 'errors', 'isValid' and 'isAnyMessageShown' to grouped obj #225script
tags or with andAMD loader
no longer changes the language automatically. A call toko.validation.locale
is required Enable loading of multiple locales and add possibility to switch between them #506Build
Tests
The text was updated successfully, but these errors were encountered: