Value of radio group controls should be given on edit page of settings

This commit is contained in:
Sevan Nerse 2019-12-24 13:49:59 +03:00
parent 1fc73a4703
commit ccf72f2f44

View File

@ -28,7 +28,7 @@
@elseif ($type == 'selectGroup')
{{ Form::$type($field['name'], trans($field['title']), $field['icon'], $field['values'], $field['selected'], $field['attributes']) }}
@elseif ($type == 'radioGroup')
{{ Form::$type($field['name'], trans($field['title']), null, trans($field['enable']), trans($field['disable']), $field['attributes']) }}
{{ Form::$type($field['name'], trans($field['title']), $setting[$field['name']], trans($field['enable']), trans($field['disable']), $field['attributes']) }}
@elseif ($type == 'checkboxGroup')
{{ Form::$type($field['name'], trans($field['title']), $field['items'], $field['value'], $field['id'], $field['attributes']) }}
@elseif ($type == 'fileGroup')