Fix input number box step/min/max and accept decimals (#451)

This commit is contained in:
R1chardTM 2017-10-16 08:22:12 +02:00 committed by Paulus Schoutsen
parent 0bd330c76b
commit fa061a2603

View File

@ -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'