Open suaveolent opened 8 hours ago
When attempting to input floating-point numbers in Home Assistant, trailing zeros are not allowed directly.
For example:
0.07
0.7
0
7
See screen recording for effect. The trailing zero is automatically removed:
https://github.com/user-attachments/assets/4d7dd3b8-4e24-40ad-8237-5e5d2e32e69d
Trailing zeros numbers should not be automatically cut while typing. Instead they can be trimmed when the focus of the input field is lost.
core-2024.11.1
No response
Safari 17.6, Mozilla Firefox 132.0.2
macOS 14.6.1, Windows 11
Checklist
Describe the issue you are experiencing
When attempting to input floating-point numbers in Home Assistant, trailing zeros are not allowed directly.
For example:
0.07
cannot be entered directly.0.7
and then add a0
before the7
to achieve the desired value.See screen recording for effect. The trailing zero is automatically removed:
https://github.com/user-attachments/assets/4d7dd3b8-4e24-40ad-8237-5e5d2e32e69d
Describe the behavior you expected
Trailing zeros numbers should not be automatically cut while typing. Instead they can be trimmed when the focus of the input field is lost.
Steps to reproduce the issue
What version of Home Assistant Core has the issue?
core-2024.11.1
What was the last working version of Home Assistant Core?
No response
In which browser are you experiencing the issue with?
Safari 17.6, Mozilla Firefox 132.0.2
Which operating system are you using to run this browser?
macOS 14.6.1, Windows 11
State of relevant entities
No response
Problem-relevant frontend configuration
No response
Javascript errors shown in your browser console/inspector
No response
Additional information
No response