@php $note = $note ?? false; $default = $default ?? false; $inModal = $fieldsInModal ?? false; $disabled = $disabled ?? false; $border = $border ?? false; $confirmMessageText = $confirmMessageText ?? ''; $confirmTitleText = $confirmTitleText ?? ''; $requireConfirmation = $requireConfirmation ?? false; @endphp @unless($renderForBlocks || $renderForModal || (!isset($item->$name) && null == $formFieldsValue = getFormFieldsValue($form_fields, $name))) @push('vuexStore') window['{{ config('twill.js_namespace') }}'].STORE.form.fields.push({ name: '{{ $name }}', value: @if(isset($item) && $item->$name || ($formFieldsValue ?? false)) true @else false @endif }) @endpush @endunless