Merge pull request #296 from Budibase/property-panel/bugfixes
Changing value to val in handleChange
This commit is contained in:
commit
bdb6e2886e
|
@ -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