Knockout-Contrib / Knockout-Contrib/Knockout-Validation

Calling ko.validation.group on object makes all observables validatable

Open
#478 11 comments 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

Can we please have an option for group that does not make all objects validatable when iterating over the object graph.

The problem is that if you have auto insert span on, then it sometimes breaks the html depending on the span being inserted or not.

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 tracing ko.validation.group when it iterates an object graph, then examine how auto-inserted spans depend on observables becoming validatable. Done means an option prevents all traversed observables from becoming validatable while preserving the existing grouping behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.