Knockout-Contrib / Knockout-Contrib/Knockout-Validation
Applying the same rule several times to the same property validate only one of them
Open
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 366
- PR merge metrics
- No merged PRs in 30d
Description
I have a property `TempId` and apply to it two validations rules, both of them are `unique` rule. In old version of validation plugin it worked as I expected: both rules validated successfully. The latest version , which I have now (**2.0.3**), validate only on of them.
Contributor guide
Research direction
No files, tests, or entry points are mentioned. First reproduce the behavior with Knockout-Validation 2.0.3 using two unique rules on the same TempId property, then compare it with the older version and add a regression test showing whether both rules validate.
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
- Needs clarification
- Newbie friendliness
- 35/100