Empty input number after submitting null value
This commit is contained in:
parent
b541b5712a
commit
b03ef7f9bb
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@
|
|||
@change="update($event, settingGroup.group, settingGroup.key, settingParent, setting.key, setting.type, nested)"/>
|
||||
<el-input-number
|
||||
v-if="setting.type === 'integer'"
|
||||
:value="inputValue === null ? 0 : inputValue"
|
||||
:value="inputValue === null ? undefined : inputValue"
|
||||
:placeholder="setting.suggestions ? setting.suggestions[0].toString() : null"
|
||||
:min="0"
|
||||
:size="isDesktop ? 'large' : 'small'"
|
||||
|
|
Loading…
Reference in a new issue