- Bug Fixes
- Fixed a bug where
-1.2
was being formatted as-1-1.2
- Fixed a bug where
- Bug Fixes
preventInvalidInput
is correctly working again
- Bug Fixes
- Fixed issue where overriding a global option on a specific input element would override that option for all input elements
- Enhancements
- Can set default options with
fcsaNumberConfigProvider.setDefaultOptions()
- Can set default options with
- Bug Fixes
prepend
andappend
values are removed on focus
- Enhancements
- Added
prepend
option - Added
append
option
- Added
- Enhancements
- Not adding commas to the decimal portion of the number
- Allowing commas to be entered by the user. Thanks @jbulat
- A hyphen only value is marked invalid
- Refactorings
- using
angular.element
instead of$
and therefore no longer requiring jQuery to be used
- Enhancements
- added 'preventInvalidInput' option
- Enhancements
- renamed
decimals
option tomaxDecimals
- renamed
digits
option tomaxDigits