{"action":"created","issue":{"url":"https://api.github.com/repos/react-component/slider/issues/162","repository_url":"https://api.github.com/repos/react-component/slider","labels_url":"https://api.github.com/repos/react-component/slider/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/react-component/slider/issues/162/comments","events_url":"https://api.github.com/repos/react-component/slider/issues/162/events","html_url":"https://github.com/react-component/slider/issues/162","id":184858347,"number":162,"title":"Slider.js:423 Uncaught TypeError: Cannot read property 'toFixed' of undefined(…)","user":{"login":"ql","id":16793,"avatar_url":"https://avatars.githubusercontent.com/u/16793?v=3","gravatar_id":"","url":"https://api.github.com/users/ql","html_url":"https://github.com/ql","followers_url":"https://api.github.com/users/ql/followers","following_url":"https://api.github.com/users/ql/following{/other_user}","gists_url":"https://api.github.com/users/ql/gists{/gist_id}","starred_url":"https://api.github.com/users/ql/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ql/subscriptions","organizations_url":"https://api.github.com/users/ql/orgs","repos_url":"https://api.github.com/users/ql/repos","events_url":"https://api.github.com/users/ql/events{/privacy}","received_events_url":"https://api.github.com/users/ql/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-24T14:34:33Z","updated_at":"2016-10-31T07:36:05Z","closed_at":"2016-10-31T02:33:53Z","body":"Hello!\nI'm trying to set up logarithmic scale slider (as described in https://github.com/react-component/slider/issues/150) with value and marks:\n\n`<Slider defaultValue={ 100 }  marks={{10:'10', 100:'100', 1000:'1000', 10000:'10k', 100000:'100k'}} value={[10, 100, 1000, 10000, 100000]} onChange={this.onSpendingChange} />\n`\n\nHow I could use value parameter without getting error with toFixed?\n"},"comment":{"url":"https://api.github.com/repos/react-component/slider/issues/comments/257230068","html_url":"https://github.com/react-component/slider/issues/162#issuecomment-257230068","issue_url":"https://api.github.com/repos/react-component/slider/issues/162","id":257230068,"user":{"login":"ql","id":16793,"avatar_url":"https://avatars.githubusercontent.com/u/16793?v=3","gravatar_id":"","url":"https://api.github.com/users/ql","html_url":"https://github.com/ql","followers_url":"https://api.github.com/users/ql/followers","following_url":"https://api.github.com/users/ql/following{/other_user}","gists_url":"https://api.github.com/users/ql/gists{/gist_id}","starred_url":"https://api.github.com/users/ql/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ql/subscriptions","organizations_url":"https://api.github.com/users/ql/orgs","repos_url":"https://api.github.com/users/ql/repos","events_url":"https://api.github.com/users/ql/events{/privacy}","received_events_url":"https://api.github.com/users/ql/received_events","type":"User","site_admin":false},"created_at":"2016-10-31T07:36:05Z","updated_at":"2016-10-31T07:36:05Z","body":"@benjycui actually documentation mentions only defaultValue, not value.\r\n\r\nvalue\tnumber or [number, number, ...]\t\tSet current positions of handles. If range is `false`, the type of `defaultValue` should be `number`. Otherwise, `[number, number, ...]`\r\n"}}
{"actor":{"display_login":"ql"}}