Allowing auto values for inputs
This commit is contained in:
parent
e0ca7976f4
commit
bb512a9bb2
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
function handleChange(val) {
|
function handleChange(val) {
|
||||||
value = val
|
value = val
|
||||||
let _value = value + suffix
|
let _value = value !== "auto" ? value + suffix : value
|
||||||
onChange(_value)
|
onChange(_value)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue