Merge pull request #296 from Budibase/property-panel/bugfixes

Changing value to val in handleChange
This commit is contained in:
Conor_Mack 2020-06-02 15:31:27 +01:00 committed by GitHub
commit bdb6e2886e
1 changed files with 1 additions and 1 deletions

View File

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