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

Improve configuration and initialization #545

Open
crissdev opened this issue Feb 15, 2015 · 0 comments
Open

Improve configuration and initialization #545

crissdev opened this issue Feb 15, 2015 · 0 comments

Comments

@crissdev
Copy link
Member

Currently the library initializes itself - without the need to call ko.validation.init. Also, binding handles like value, textInput etc. are automatically wrapped to become validatable. This adds difficulties in working with libraries like knockout-es5 or to prevent the registration. Furthermore, some may already define extenders which this library registers. Ideally, changes to this feature should not cause any breaking changes.


Related issues:
#477 Opt-out option for makeBindingHandlerValidatable
#478 Calling ko.validation.group on object makes all observables validatable
#404 RegisterExtenders invoked before Init, cannot avoid adding rules to ko.extends
#150 Exposing default options
#192 Add option asyncOnModified (Related issue #180)


More investigation is needed for the following issues:
#540 Support live option for observable objects
#49 Changing validation rules on the fly

@crissdev crissdev added this to the 2.1.0 milestone Feb 15, 2015
crissdev added a commit that referenced this issue Mar 10, 2015
Initialization will not occur unless an extender is applied to an
observable or applyBindings is called.

Closes #545
crissdev added a commit that referenced this issue Mar 10, 2015
Initialization will not occur unless an extender is applied to an
observable or applyBindings is called.

Closes #545
crissdev added a commit that referenced this issue Mar 28, 2015
Initialization will not occur unless an extender is applied to an
observable or applyBindings is called.

Closes #545
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant