{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/12690","repository_url":"https://api.github.com/repos/yiisoft/yii2","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/12690/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/12690/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/12690/events","html_url":"https://github.com/yiisoft/yii2/issues/12690","id":181442018,"number":12690,"title":"Max and Min for masked fields don't work","user":{"login":"ianpierreg","id":18709707,"avatar_url":"https://avatars.githubusercontent.com/u/18709707?v=3","gravatar_id":"","url":"https://api.github.com/users/ianpierreg","html_url":"https://github.com/ianpierreg","followers_url":"https://api.github.com/users/ianpierreg/followers","following_url":"https://api.github.com/users/ianpierreg/following{/other_user}","gists_url":"https://api.github.com/users/ianpierreg/gists{/gist_id}","starred_url":"https://api.github.com/users/ianpierreg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianpierreg/subscriptions","organizations_url":"https://api.github.com/users/ianpierreg/orgs","repos_url":"https://api.github.com/users/ianpierreg/repos","events_url":"https://api.github.com/users/ianpierreg/events{/privacy}","received_events_url":"https://api.github.com/users/ianpierreg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yiisoft/yii2/labels/status:to%20be%20verified","name":"status:to be verified","color":"fbca04"},{"url":"https://api.github.com/repos/yiisoft/yii2/labels/type:bug","name":"type:bug","color":"e102d8"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/yiisoft/yii2/milestones/20","html_url":"https://github.com/yiisoft/yii2/milestones/2.0.11","labels_url":"https://api.github.com/repos/yiisoft/yii2/milestones/20/labels","id":1736699,"number":20,"title":"2.0.11","description":"","creator":{"login":"cebe","id":189796,"avatar_url":"https://avatars.githubusercontent.com/u/189796?v=3","gravatar_id":"","url":"https://api.github.com/users/cebe","html_url":"https://github.com/cebe","followers_url":"https://api.github.com/users/cebe/followers","following_url":"https://api.github.com/users/cebe/following{/other_user}","gists_url":"https://api.github.com/users/cebe/gists{/gist_id}","starred_url":"https://api.github.com/users/cebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cebe/subscriptions","organizations_url":"https://api.github.com/users/cebe/orgs","repos_url":"https://api.github.com/users/cebe/repos","events_url":"https://api.github.com/users/cebe/events{/privacy}","received_events_url":"https://api.github.com/users/cebe/received_events","type":"User","site_admin":false},"open_issues":52,"closed_issues":0,"state":"open","created_at":"2016-04-28T15:04:50Z","updated_at":"2016-10-07T08:51:16Z","due_on":"2016-11-12T23:00:00Z","closed_at":null},"comments":1,"created_at":"2016-10-06T15:08:28Z","updated_at":"2016-10-07T11:38:41Z","closed_at":null,"body":"### What steps will reproduce the problem?\r\nGuys, I wonder if there is any way to work this error.\r\n\r\nBasically, everytime I use yii2 masks it doens't give me error messages for max and min.\r\n\r\nFor example: If I have a date field and set min => 8 in the rules\r\n\r\nand then I fill the field like 24/0 (where it should be something like 24/10/1994) it will be accepted. \r\n\r\nWhat do I do?\r\n### What is the expected result?\r\n\r\n### What do you get instead?\r\n\r\n\r\n### Additional info\r\n\r\n| Q                | A\r\n| ---------------- | ---\r\n| Yii version      | 2.0.?\r\n| PHP version      |\r\n| Operating system |\r\n"},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/comments/252229201","html_url":"https://github.com/yiisoft/yii2/issues/12690#issuecomment-252229201","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/12690","id":252229201,"user":{"login":"ianpierreg","id":18709707,"avatar_url":"https://avatars.githubusercontent.com/u/18709707?v=3","gravatar_id":"","url":"https://api.github.com/users/ianpierreg","html_url":"https://github.com/ianpierreg","followers_url":"https://api.github.com/users/ianpierreg/followers","following_url":"https://api.github.com/users/ianpierreg/following{/other_user}","gists_url":"https://api.github.com/users/ianpierreg/gists{/gist_id}","starred_url":"https://api.github.com/users/ianpierreg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianpierreg/subscriptions","organizations_url":"https://api.github.com/users/ianpierreg/orgs","repos_url":"https://api.github.com/users/ianpierreg/repos","events_url":"https://api.github.com/users/ianpierreg/events{/privacy}","received_events_url":"https://api.github.com/users/ianpierreg/received_events","type":"User","site_admin":false},"created_at":"2016-10-07T11:38:41Z","updated_at":"2016-10-07T11:38:41Z","body":"I only put min => 8 in the rules, like following:\r\n\r\n [['cep'], 'string', 'min' => 8],\r\n\r\nIf i use text input, it validates (Must be greater than 8) but if I use maskedInput it doesn't work.\r\n\r\nActually, I just tried with maskedinput and that worked now it is not working anymore again."}}
{"actor":{"display_login":"ianpierreg"}}