mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-17 22:36:35 +00:00
Fix input number box step/min/max and accept decimals (#451)
This commit is contained in:
parent
0bd330c76b
commit
fa061a2603
@ -27,7 +27,10 @@
|
||||
<paper-input
|
||||
no-label-float
|
||||
auto-validate
|
||||
pattern='[0-9]*'
|
||||
pattern='[0-9]+([\.][0-9]+)?'
|
||||
step='[[step]]'
|
||||
min='[[min]]'
|
||||
max='[[max]]'
|
||||
value='{{value}}'
|
||||
type='number'
|
||||
on-change='selectedValueChanged'
|
||||
|
Loading…
x
Reference in New Issue
Block a user