Merge pull request #1026 from SevanNerse/dev-radio

Value of radio group controls should be given on edit page of settings
This commit is contained in:
Cüneyt Şentürk 2019-12-24 14:07:59 +03:00 committed by GitHub
commit 85f8b4d27b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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')