@php // if not otherwise specified, the hidden input should take up no space in the form if (!isset($field['wrapperAttributes']) || !isset($field['wrapperAttributes']['class'])) { $field['wrapperAttributes']['class'] = "hidden"; } @endphp