Calcite numeric input deleting decimal point #7039
Labels
4 - verified
Issues that have been released and confirmed resolved.
ArcGIS Map Viewer
Issues logged by ArcGIS Map Viewer team members.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
estimate - 5
A few days of work, definitely requires updates to tests.
p - high
Issue should be addressed in the current milestone, impacts component or core functionality
Milestone
Actual Behavior
When I am editing a decimal value on the calcite input component, the decimal point itself gets deleted when I delete the number in the tenths position. For example, if I have 1.5 and want to change it to 1.8, on trying to delete 5, it would also remove the "." and I would end up typing 18.
Expected Behavior
I expect the decimal position to stay in the input box like it does in the native input element.
Reproduction Sample
https://codepen.io/geospatialem/pen/poxYOdO
Reproduction Steps
Using the codepen above, try to use backspace on the three different input boxes and observe the difference in behavior between calcite-input and native input.
Reproduction Version
1.4.0
Relevant Info
No response
Regression?
No response
Priority impact
p3 - want for upcoming milestone
Impact
No response
Esri team
ArcGIS Map Viewer
The text was updated successfully, but these errors were encountered: