@php if (Ui::keyset ($attributes, 'layout') == null || (Ui::keyset ($attributes, 'layout') != null && $attributes['layout'] == 'h')) { $horizental = true; $row = ' row'; $labelClass = 'col-2 col-form-label'; } else { $horizental = false; $row = ''; $labelClass = 'col-form-label'; } if (Ui::keyset ($attributes, 'autocomplete') != null) { $typeaheadClass = 'typeahead'; } else { $typeaheadClass = ''; } if (isset($attributes['required']) && $attributes['required'] === true) { $labelClass .= ' required'; } @endphp