Changing value to val in handleChange
This commit is contained in:
parent
1ac10adaa3
commit
459f97baa5
|
@ -10,7 +10,7 @@
|
|||
export let onChange = () => {}
|
||||
|
||||
function handleChange(val, idx) {
|
||||
value.splice(idx, 1, val !== "auto" ? value + suffix : val)
|
||||
value.splice(idx, 1, val !== "auto" ? val + suffix : val)
|
||||
|
||||
value = value
|
||||
let _value = value.map(v => (!v.endsWith(suffix) && v !== "auto" ? v + suffix : v))
|
||||
|
|
Loading…
Reference in New Issue