editor: label->true/auto fix
This commit is contained in:
parent
17fb29c44a
commit
67226a945a
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ class Editor {
|
|||
|
||||
let previousValue = w.props[propName]
|
||||
|
||||
if ((propName === '' || propName === 'popupLabel') && value === true) {
|
||||
if ((propName === 'label' || propName === 'popupLabel') && value === true) {
|
||||
w.props[propName] = 'auto'
|
||||
} else {
|
||||
w.props[propName] = value !== '' ? value : deepCopy(defaults[w.props.type][propName].value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue