mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-18 14:56:37 +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
|
<paper-input
|
||||||
no-label-float
|
no-label-float
|
||||||
auto-validate
|
auto-validate
|
||||||
pattern='[0-9]*'
|
pattern='[0-9]+([\.][0-9]+)?'
|
||||||
|
step='[[step]]'
|
||||||
|
min='[[min]]'
|
||||||
|
max='[[max]]'
|
||||||
value='{{value}}'
|
value='{{value}}'
|
||||||
type='number'
|
type='number'
|
||||||
on-change='selectedValueChanged'
|
on-change='selectedValueChanged'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user