fix: Update module edit form to allow number input
This commit is contained in:
@ -21,7 +21,7 @@
|
|||||||
@foreach($module->get('settings') as $field)
|
@foreach($module->get('settings') as $field)
|
||||||
@php $type = $field['type']; @endphp
|
@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']) }}
|
{{ Form::$type($field['name'], trans($field['title']), $field['icon'], $field['attributes']) }}
|
||||||
@elseif ($type == 'textareaGroup')
|
@elseif ($type == 'textareaGroup')
|
||||||
{{ Form::$type($field['name'], trans($field['title'])) }}
|
{{ Form::$type($field['name'], trans($field['title'])) }}
|
||||||
|
Reference in New Issue
Block a user