Knockout-Contrib / Knockout-Contrib/Knockout-Validation
ko validation with ko 3.4.0 and ko.options.deferUpdates = true;
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 366
- PR merge metrics
- No merged PRs in 30d
Description
Hi there
The sample at http://jsfiddle.net/KHFn8/5424/ doesn´t work as expected when ko deferred updates are set globally.
I´ve tried this:
- Fill one of the mandatory fields
- Click submit
- Click reset
- All error messages disappear and the validation message for the filed at number 1 appears
Is this a bug on ko validation?
Thanks
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the behavior in the linked JSFiddle with Knockout validation 3.4.0 and ko.options.deferUpdates set globally. Follow the reported fill, submit, and reset steps, then compare the validation messages with deferred updates disabled. Done means the reset flow produces the expected validation state or the issue is documented as a limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100