From eae074ef73595ad159d0433fc652ec676a1321f3 Mon Sep 17 00:00:00 2001 From: iglocska Date: Wed, 15 May 2024 13:13:42 +0200 Subject: [PATCH] fix: [settings] numeric fields in settings didn't show current value --- templates/element/Settings/field.php | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/element/Settings/field.php b/templates/element/Settings/field.php index ed297f0..eb9a214 100644 --- a/templates/element/Settings/field.php +++ b/templates/element/Settings/field.php @@ -53,6 +53,7 @@ 'type' => 'number', 'min' => '0', 'step' => 1, + 'value' => isset($setting['value']) ? h($setting['value']) : '', 'id' => h($settingId), 'data-setting-name' => h($settingName), 'aria-describedby' => h("{$settingId}Help")