-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(input, input-number): no longer removes trailing decimal separator (
#7159) **Related Issue:** #7039 ## Summary This PR will allow trailing decimal separator while user is editing the input value in `calcite-input` & `calcite-input-number` Before the Change: - If the user removes the `1` value from `0.00001` , the input will be sanitized and the new value will be `0` - If the user removes the `1` value from `0.1` , the input will be sanitized and the new value will be `0` After the Change: - If the user removes the `1` value from `0.01` , the input value will be `0.0` - If the user removes the `1` value from `0.1` , the input value will be `0.`
- Loading branch information
1 parent
122f142
commit 01535cf
Showing
6 changed files
with
354 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.