Knockout-Contrib / Knockout-Contrib/Knockout-Validation

Propose 2 functions: different class and change value

Open
#597 0 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

May I propose to 2 functions?

  1. change the observable value. For example, if the rule detected the variable's validation is not valid, it will change the variable to a specified value
  2. add different class to different validation. For example, two validation rules applies to an observable variable, each one has own error class/style

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

No source files, tests, or entry points are named in the issue. Start by reviewing the observable validation API and how multiple validation rules are represented. Done would require agreed behavior for changing invalid values and assigning distinct classes or styles to each rule.

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.