AngularJS parsers and formatters
Posted on 2015-03-24
AngularJS’s ngModel directive is pretty neat. It lets you bind data to form controls. It’s also fairly extendable!
We’re trying to build a decent numeric input in our application and it’s kind of a mess.
input[type='number'] doesn’t seem to perfectly fit our needs. So I started looking
for third party solutions and I couldn’t find any. It also seems like Angular’s default i18n/i10n support is kind of lacking. It works for output (displaying data in an
internationalized way) but not for input (parsing numbers or other in other cultures).
If it works well, it shall be open-sourced through Vooban’s GitHub.
See a first draft in action here : http://plnkr.co/edit/S92bQS?p=previewcomments powered by Disqus