Knockout-Contrib / Knockout-Contrib/Knockout-Validation

setCustomValidity

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

Description

It would be nice to support more of the HTML 5 Validation APIs with this library. How about the possibility to show the Errormessage with the setCustomValidity()-API? In Internet Explorer 10 it looks much better than looking for the HTML title attribute.

Is it possible to support all (even custom) validators with this api?

Also it would be cool if the html 5 src could be also enriched automatically with the correct HTML 5 Attributes like required, pattern etc. that I have defined in my Viewmodel.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. First locate the library's existing handling of validation errors, custom validators, and ViewModel rules mapped to HTML; completion would require an agreed scope covering setCustomValidity and automatic HTML5 attributes.

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.