fix: [settings] numeric fields in settings didn't show current value
parent
18b322400a
commit
eae074ef73
|
@ -53,6 +53,7 @@
|
||||||
'type' => 'number',
|
'type' => 'number',
|
||||||
'min' => '0',
|
'min' => '0',
|
||||||
'step' => 1,
|
'step' => 1,
|
||||||
|
'value' => isset($setting['value']) ? h($setting['value']) : '',
|
||||||
'id' => h($settingId),
|
'id' => h($settingId),
|
||||||
'data-setting-name' => h($settingName),
|
'data-setting-name' => h($settingName),
|
||||||
'aria-describedby' => h("{$settingId}Help")
|
'aria-describedby' => h("{$settingId}Help")
|
||||||
|
|
Loading…
Reference in New Issue