Knockout-Contrib / Knockout-Contrib/Knockout-Validation

ko validation with ko 3.4.0 and ko.options.deferUpdates = true;

Open
#635 1 comment 0 reactions 0 assignees View on GitHub

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:

  1. Fill one of the mandatory fields
  2. Click submit
  3. Click reset
  4. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.