Knockout-Contrib / Knockout-Contrib/Knockout-Validation
Options validation and Datatables binding
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 366
- PR merge metrics
- No merged PRs in 30d
Description
For some reason options together with validation and the datatables binding found here (https://github.com/CogShift/Knockout.Extensions) does not work if the option is empty from the beginning, try to select a item in a empty drop down and then empty that option again, the required rule does not work.
Since its only for options the bug must be in the Validation library, but I havent been able to find the problem, maybe you can help me.
A fiddle to reproduce the problem
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked jsFiddle and the options/datatable binding in Knockout.Extensions, then trace how the validation library observes an option cleared after a selection. Done means the required rule correctly reports an empty option in that reproduction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100