I have some troubles. The customers requests us with condition in input as
- step 1: User want to display number with decimal 2 places
- step 2: User are focusing in input => display full number
- step 3: Out focusing in input => display such as step 1
- step 4: User click on Save button. We still store data with full number
For ex: User input 23.33324 => out focus, display on input is 23.3 => in focus => 23.33324 => save data into db => 23.33324
How to do that in angualr 10 (using formgroup)? Thanks.