Knockout-Contrib / Knockout-Contrib/Knockout-Validation

Is it possible to loop through the errors and get to the node or property?

Open
#657 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1k
Forks
366
PR merge metrics
No merged PRs in 30d

Description

My end goal is to loop through the errors and work out whether the field generating the error is currently hidden in a tab that's not visible or an accordion section that's closed.

I imagine there would be a number of use cases though where it would be useful to loop through the errors and pull more information. Is this possible?

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named. First clarify the intended error-looping API and which node or property metadata must be available, including the hidden-tab and closed-accordion cases. Done should be a decided, testable behavior rather than only confirmation that it is possible.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.