{"action":"created","issue":{"url":"https://api.github.com/repos/uhlryk/angular-dynamic-number/issues/38","repository_url":"https://api.github.com/repos/uhlryk/angular-dynamic-number","labels_url":"https://api.github.com/repos/uhlryk/angular-dynamic-number/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/uhlryk/angular-dynamic-number/issues/38/comments","events_url":"https://api.github.com/repos/uhlryk/angular-dynamic-number/issues/38/events","html_url":"https://github.com/uhlryk/angular-dynamic-number/issues/38","id":194606705,"number":38,"title":"num-fixed as option (not filter)","user":{"login":"slillo","id":12492340,"avatar_url":"https://avatars.githubusercontent.com/u/12492340?v=3","gravatar_id":"","url":"https://api.github.com/users/slillo","html_url":"https://github.com/slillo","followers_url":"https://api.github.com/users/slillo/followers","following_url":"https://api.github.com/users/slillo/following{/other_user}","gists_url":"https://api.github.com/users/slillo/gists{/gist_id}","starred_url":"https://api.github.com/users/slillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slillo/subscriptions","organizations_url":"https://api.github.com/users/slillo/orgs","repos_url":"https://api.github.com/users/slillo/repos","events_url":"https://api.github.com/users/slillo/events{/privacy}","received_events_url":"https://api.github.com/users/slillo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-09T14:16:47Z","updated_at":"2016-12-12T20:00:36Z","closed_at":null,"body":"It's not clear to me how to use numFixed filter in an input field built like this:\r\n\r\n`<input \r\n  awnum=\"true\" \r\n  num-int=\"6\" \r\n  num-fract=\"2\" \r\n  num-sep=\",\" \r\n  num-thousand=\"true\" \r\n  num-thousand-sep=\".\" \r\n  num-neg=\"false\" \r\n  num-round=\"round\" \r\n  num-pos=\"true\" \r\n  num-prepend=\"\" \r\n  num-append=\"\" \r\n  ng-trim=\"false\" \r\n  ng-init=\"moduloCtrl[dynindex] = 2.00\" \r\n  ng-model=\"moduloCtrl[dynindex]\" \r\n  />\r\n`\r\n\r\nThis field will show '2' and not ('2,00'). \r\n\r\nDebugging dynamic-number.js, in filterModelValue function I can see that numFixed is by default set to false. To obtain the desired result I have to set numFixed variable to true. How I should use numFixed filter in this case? If not possible, is it possible to set the default value of numFixed to true or also better make it work also as option (attribute of input text field)?"},"comment":{"url":"https://api.github.com/repos/uhlryk/angular-dynamic-number/issues/comments/266536195","html_url":"https://github.com/uhlryk/angular-dynamic-number/issues/38#issuecomment-266536195","issue_url":"https://api.github.com/repos/uhlryk/angular-dynamic-number/issues/38","id":266536195,"user":{"login":"uhlryk","id":6841095,"avatar_url":"https://avatars.githubusercontent.com/u/6841095?v=3","gravatar_id":"","url":"https://api.github.com/users/uhlryk","html_url":"https://github.com/uhlryk","followers_url":"https://api.github.com/users/uhlryk/followers","following_url":"https://api.github.com/users/uhlryk/following{/other_user}","gists_url":"https://api.github.com/users/uhlryk/gists{/gist_id}","starred_url":"https://api.github.com/users/uhlryk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uhlryk/subscriptions","organizations_url":"https://api.github.com/users/uhlryk/orgs","repos_url":"https://api.github.com/users/uhlryk/repos","events_url":"https://api.github.com/users/uhlryk/events{/privacy}","received_events_url":"https://api.github.com/users/uhlryk/received_events","type":"User","site_admin":false},"created_at":"2016-12-12T20:00:36Z","updated_at":"2016-12-12T20:00:36Z","body":"Hey\r\nIn previous versions it was impossible. Now it may work. I will check it within a few days"}}
{"actor":{"display_login":"uhlryk"}}