{"action":"closed","issue":{"url":"https://api.github.com/repos/mjbp/storm-validate/issues/12","repository_url":"https://api.github.com/repos/mjbp/storm-validate","labels_url":"https://api.github.com/repos/mjbp/storm-validate/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/mjbp/storm-validate/issues/12/comments","events_url":"https://api.github.com/repos/mjbp/storm-validate/issues/12/events","html_url":"https://github.com/mjbp/storm-validate/issues/12","id":297604186,"number":12,"title":"Use constraint validation API for HTML 5 (not .NET MVC data-val) fields?","user":{"login":"mjbp","id":2864755,"avatar_url":"https://avatars3.githubusercontent.com/u/2864755?v=4","gravatar_id":"","url":"https://api.github.com/users/mjbp","html_url":"https://github.com/mjbp","followers_url":"https://api.github.com/users/mjbp/followers","following_url":"https://api.github.com/users/mjbp/following{/other_user}","gists_url":"https://api.github.com/users/mjbp/gists{/gist_id}","starred_url":"https://api.github.com/users/mjbp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjbp/subscriptions","organizations_url":"https://api.github.com/users/mjbp/orgs","repos_url":"https://api.github.com/users/mjbp/repos","events_url":"https://api.github.com/users/mjbp/events{/privacy}","received_events_url":"https://api.github.com/users/mjbp/received_events","type":"User","site_admin":false},"labels":[{"id":815383066,"url":"https://api.github.com/repos/mjbp/storm-validate/labels/question","name":"question","color":"d876e3","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-15T21:34:13Z","updated_at":"2018-02-20T10:33:48Z","closed_at":"2018-02-20T10:33:48Z","author_association":"OWNER","body":"Instead of using the same validation methods as .NET MVC version (and error messages where default error messages are used), should we not be leveraging the browser's constraint validation API to get validity state and acquire error messages when using html5 validation .checkValidity?\r\n\r\n- Would we ever need to support a circumstance under which a form has part .NET MVC data-val attributes, part HTML5 attributes (probably not)? Should they validate in the same way (probably, but will it ever happen)?\r\n- If not, can we get rid of the default error messages and either use data-val-{validator}=\"{message}\" or html5 validationMessage()?"}}
{"actor":{"display_login":"mjbp"}}