Report edit and fields input name and edit fields fixed
This commit is contained in:
		@@ -2,13 +2,13 @@
 | 
			
		||||
    @php $type = $field['type']; @endphp
 | 
			
		||||
 | 
			
		||||
    @if (($type == 'textGroup') || ($type == 'emailGroup') || ($type == 'passwordGroup'))
 | 
			
		||||
        {{ Form::$type('settings[' . $field['name'] . ']', $field['title'], $field['icon'], array_merge([
 | 
			
		||||
        {{ Form::$type($field['name'], $field['title'], $field['icon'], array_merge([
 | 
			
		||||
                'data-field' => 'settings'
 | 
			
		||||
            ],
 | 
			
		||||
            $field['attributes'])
 | 
			
		||||
        ) }}
 | 
			
		||||
    @elseif ($type == 'textareaGroup')
 | 
			
		||||
        {{ Form::$type('settings[' . $field['name'] . ']', $field['title']) }}
 | 
			
		||||
        {{ Form::$type($field['name'], $field['title']) }}
 | 
			
		||||
    @elseif ($type == 'selectGroup')
 | 
			
		||||
        {{ Form::$type($field['name'], $field['title'], $field['icon'], $field['values'], $field['selected'], array_merge([
 | 
			
		||||
                'data-field' => 'settings'
 | 
			
		||||
@@ -16,13 +16,13 @@
 | 
			
		||||
            $field['attributes'])
 | 
			
		||||
        ) }}
 | 
			
		||||
    @elseif ($type == 'radioGroup')
 | 
			
		||||
        {{ Form::$type('settings[' . $field['name'] . ']', $field['title'], 1, $field['enable'], $field['disable'], array_merge([
 | 
			
		||||
        {{ Form::$type($field['name'], $field['title'], 1, $field['enable'], $field['disable'], array_merge([
 | 
			
		||||
                'data-field' => 'settings'
 | 
			
		||||
            ],
 | 
			
		||||
            $field['attributes'])
 | 
			
		||||
        ) }}
 | 
			
		||||
    @elseif ($type == 'checkboxGroup')
 | 
			
		||||
        {{ Form::$type('settings[' . $field['name'] . ']', $field['title'], $field['items'], $field['value'], $field['id'], array_merge([
 | 
			
		||||
        {{ Form::$type($field['name'], $field['title'], $field['items'], $field['value'], $field['id'], array_merge([
 | 
			
		||||
                'data-field' => 'settings'
 | 
			
		||||
            ],
 | 
			
		||||
            $field['attributes'])
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user