assisrafael / assisrafael/angular-input-masks
Feature request: alternative input method to shorten input if many decimals displayed by typing decimal seperator
- Dominant language
- JavaScript
- Stars
- 955
- Forks
- 329
- PR merge metrics
- No merged PRs in 30d
Description
Hello!
If a input is e.g. masked with `ui-number-mask="4"` it would be very nice if input procedure could be shortened by typing the decimal seperator.
For example... you want to enter value 0.5
Now you have to type 5 + 0 + 0 + 0
It would be much faster to type . + 5
An other example... you want to enter 1.2
You have to type 1 + 2 + 0 + 0 + 0
Much faster: 1 + . + 2
Thanks a lot and best regards
Klaus
Contributor guide
Research direction
Start by locating the ui-number-mask directive and the decimal-separator handling in the input-mask implementation. Reproduce the reported 0.5 and 1.2 cases with ui-number-mask="4"; done means typing the separator accepts the shortened forms without breaking existing numeric input behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100