From defafc1b1fafd1ee3c2d7cbe0dc3d1cd7d38ea15 Mon Sep 17 00:00:00 2001 From: Craig Smith <952595+phpsa@users.noreply.github.com> Date: Wed, 14 Jul 2021 22:19:38 +1200 Subject: [PATCH] fix: Update module edit form to allow number input --- resources/views/settings/modules/edit.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/settings/modules/edit.blade.php b/resources/views/settings/modules/edit.blade.php index ff4c2a094..d9300adf4 100644 --- a/resources/views/settings/modules/edit.blade.php +++ b/resources/views/settings/modules/edit.blade.php @@ -21,7 +21,7 @@ @foreach($module->get('settings') as $field) @php $type = $field['type']; @endphp - @if (($type == 'textGroup') || ($type == 'emailGroup') || ($type == 'passwordGroup')) + @if (($type == 'textGroup') || ($type == 'emailGroup') || ($type == 'passwordGroup') || ($type == 'numberGroup')) {{ Form::$type($field['name'], trans($field['title']), $field['icon'], $field['attributes']) }} @elseif ($type == 'textareaGroup') {{ Form::$type($field['name'], trans($field['title'])) }}