{"action":"created","issue":{"url":"https://api.github.com/repos/dhis2/d2-ui/issues/34","repository_url":"https://api.github.com/repos/dhis2/d2-ui","labels_url":"https://api.github.com/repos/dhis2/d2-ui/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/dhis2/d2-ui/issues/34/comments","events_url":"https://api.github.com/repos/dhis2/d2-ui/issues/34/events","html_url":"https://github.com/dhis2/d2-ui/issues/34","id":139028291,"number":34,"title":"isNumber validator should accept strings as numbers","user":{"login":"nicolayr","id":1150841,"avatar_url":"https://avatars.githubusercontent.com/u/1150841?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolayr","html_url":"https://github.com/nicolayr","followers_url":"https://api.github.com/users/nicolayr/followers","following_url":"https://api.github.com/users/nicolayr/following{/other_user}","gists_url":"https://api.github.com/users/nicolayr/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolayr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolayr/subscriptions","organizations_url":"https://api.github.com/users/nicolayr/orgs","repos_url":"https://api.github.com/users/nicolayr/repos","events_url":"https://api.github.com/users/nicolayr/events{/privacy}","received_events_url":"https://api.github.com/users/nicolayr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dhis2/d2-ui/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/dhis2/d2-ui/labels/priority:medium","name":"priority:medium","color":"fbca04"},{"url":"https://api.github.com/repos/dhis2/d2-ui/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-07T16:43:33Z","updated_at":"2016-03-07T16:47:16Z","closed_at":null,"body":"At the moment, only numbers are accepted by the `isNumber` validator. This is a problem because validators will almost always used to validate data that comes directly from a form, and form field data will usually be strings unless it's processed first."},"comment":{"url":"https://api.github.com/repos/dhis2/d2-ui/issues/comments/193339977","html_url":"https://github.com/dhis2/d2-ui/issues/34#issuecomment-193339977","issue_url":"https://api.github.com/repos/dhis2/d2-ui/issues/34","id":193339977,"user":{"login":"nicolayr","id":1150841,"avatar_url":"https://avatars.githubusercontent.com/u/1150841?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolayr","html_url":"https://github.com/nicolayr","followers_url":"https://api.github.com/users/nicolayr/followers","following_url":"https://api.github.com/users/nicolayr/following{/other_user}","gists_url":"https://api.github.com/users/nicolayr/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolayr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolayr/subscriptions","organizations_url":"https://api.github.com/users/nicolayr/orgs","repos_url":"https://api.github.com/users/nicolayr/repos","events_url":"https://api.github.com/users/nicolayr/events{/privacy}","received_events_url":"https://api.github.com/users/nicolayr/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T16:47:16Z","updated_at":"2016-03-07T16:47:16Z","body":"@Markionium: Would changing this cause problems in the maintenance app? Is there a particular reason why there's a test to ensure that `object.isString()` can't pass as a number?"}}