<input class="form-control" type="number" min="0" name="item.StartIncome" ng-model="itemPhase.StartIncome"/>
, using angularjs In the framework, after inputting a decimal point, delete the decimal point and keep it to the one digit, and then add a decimal point, but it will fail to be added. I wonder if you have encountered this problem. How did you solve it?
1. Enter a value with decimal point, you can enter;
2. The decimal point cannot be entered after backspacing to the ones place
There may be compatibility issues with number. Can’t we just use ordinary input to control functions like this with js