{"action":"opened","issue":{"url":"https://api.github.com/repos/buefy/buefy/issues/926","repository_url":"https://api.github.com/repos/buefy/buefy","labels_url":"https://api.github.com/repos/buefy/buefy/issues/926/labels{/name}","comments_url":"https://api.github.com/repos/buefy/buefy/issues/926/comments","events_url":"https://api.github.com/repos/buefy/buefy/issues/926/events","html_url":"https://github.com/buefy/buefy/issues/926","id":344488149,"node_id":"MDU6SXNzdWUzNDQ0ODgxNDk=","number":926,"title":"How do I custom the Form validator function?","user":{"login":"yanlusu","id":1924699,"node_id":"MDQ6VXNlcjE5MjQ2OTk=","avatar_url":"https://avatars2.githubusercontent.com/u/1924699?v=4","gravatar_id":"","url":"https://api.github.com/users/yanlusu","html_url":"https://github.com/yanlusu","followers_url":"https://api.github.com/users/yanlusu/followers","following_url":"https://api.github.com/users/yanlusu/following{/other_user}","gists_url":"https://api.github.com/users/yanlusu/gists{/gist_id}","starred_url":"https://api.github.com/users/yanlusu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yanlusu/subscriptions","organizations_url":"https://api.github.com/users/yanlusu/orgs","repos_url":"https://api.github.com/users/yanlusu/repos","events_url":"https://api.github.com/users/yanlusu/events{/privacy}","received_events_url":"https://api.github.com/users/yanlusu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-25T15:14:35Z","updated_at":"2018-07-25T15:14:35Z","closed_at":null,"author_association":"NONE","body":"### Overview of the problem\r\n\r\n**Buefy** version: [0.6.6]\r\n**Vuejs** version: [2.5.7]\r\n**OS/Browser**:[Chrome, FireFox]\r\n\r\n### Description\r\nI found that form validator using html5 `checkValidity()` function in  `checkHtml5Validity()` of file `FormElementMixin.js`, but these inline rules are not satisfied, so I want to custom constraints, but how to do it?\r\n\r\n<!--Description of the bug, improvement, or question-->\r\nnot bug , just an enhance requirement.\r\n### Steps to reproduce\r\nnone\r\n\r\n\r\n### Expected behavior\r\nI want to set validator of Form data, just provide an entrance to inject it.\r\n### Actual behavior\r\n`el.checkValidity()` in function `checkHtml5Validity()` can be replaced by custom validate function.\r\n\r\nthank you."}}
{"actor":{"display_login":"yanlusu"}}