Angular Currency Input Directive
Input directive to format number according to users locale and preventing from entering more than 2 decimal places.
Quick links
Getting Started
Installation
npm i ngx-currency-input --save
Import NgxCurrencyInput Module
;
Usage
Available Options
Name | Description |
---|---|
@Input() formatOnlyOnBlur : boolean |
When true , the input won't be formatted while entering a value. Default: false |
@Input() min : number |
Validation min value |
@Input() max : number |
Validation max value |
Example:
Authors
- Chris Filipowski - filipows
License
This project is licensed under the MIT License - see the LICENSE file for details