Knockout-Contrib / Knockout-Contrib/Knockout-Validation

Validating a field that is not of type <input />

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

Description

Because of the power that Knockout provides, we were able to create an application where items you would traditionally show in an input field can now be shown in a `

` or similar, and you can create a UI Dialog of some flavor to pick the value that should be there.

This works well and fine until you try to process the validation. Since Knockout-Validation is dependent on an `` tag, it doesn't seem to be able to highlight a generic element that exists as part of the form.

Has anyone come up with a work around, or are we on our own to do this?

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are identified in the issue. Start by tracing how Knockout-Validation locates and highlights validated elements, then determine the expected behavior for validation-bound non-input elements and document a testable completion condition.

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.