Commit b03ef7f9 authored by Angelina Filippova's avatar Angelina Filippova

Empty input number after submitting null value

parent b541b571
Pipeline #22900 passed with stages
in 5 minutes and 43 seconds
......@@ -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'"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment