{{ Form::select('fieldset_id', Helper::customFieldsetList(), old('fieldset_id', $fieldset_id), array('class'=>'select2 js-fieldset-field livewire-select2', 'style'=>'width:100%; min-width:350px', 'aria-label'=>'custom_fieldset', 'data-livewire-component' => $this->getId())) }} {!! $errors->first('custom_fieldset', '') !!}
@if ($fieldset_id) @endif
@if ($add_default_values) @if ($this->fields) @foreach ($this->fields as $field)
@if ($field->format == "DATE")
@elseif ($field->element == "text") @elseif($field->element == "textarea") @elseif($field->element == "listbox") @elseif($field->element == "radio") @foreach(explode("\r\n", $field->field_values) as $field_value) @endforeach @elseif($field->element == "checkbox") @foreach(explode("\r\n", $field->field_values) as $field_value) @endforeach @else Unknown field element: {{ $field->element }} @endif Warning: Undefined variable $errors in /usr/home/ibitroot/domains/inwertaryzacja.ibitroot.com/public_html/resources/views/livewire/custom-field-set-default-values-for-model.blade.php on line 135 Fatal error: Uncaught Error: Call to a member function first() on null in /usr/home/ibitroot/domains/inwertaryzacja.ibitroot.com/public_html/resources/views/livewire/custom-field-set-default-values-for-model.blade.php:135 Stack trace: #0 {main} thrown in /usr/home/ibitroot/domains/inwertaryzacja.ibitroot.com/public_html/resources/views/livewire/custom-field-set-default-values-for-model.blade.php on line 135