Merge pull request #2190 from phpsa/patch-1
fix: Update module edit form to allow number input
This commit is contained in:
commit
d0f55bde29
@ -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'])) }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user