@props(['name', 'label' => null, 'options' => [], 'value' => null, 'placeholder' => null, 'help' => null, 'required' => false]) @php($id = $attributes->get('id', str_replace(['[', ']'], ['_', ''], $name))) @php($selected = (string) old($name, $value instanceof \BackedEnum ? $value->value : $value))
only('class') }}> @if ($label) @endif @if ($help)

{{ $help }}

@endif @error($name)

{{ $message }}

@enderror