@props(['name', 'label' => null, 'value' => null, 'hint' => null, 'dir' => null]) {{-- Trix editor (load resources/js/rich-text.js) writing HTML into a hidden input; the server keeps only safe formatting (App\Support\SafeHtml). --}} @php($key = str_replace(['[', ']'], ['.', ''], $name)) @php($id = $attributes->get('id', str_replace(['[', ']'], ['_', ''], $name)))
@if ($label) @endif $errors->has($key)])> @if ($hint)

{{ $hint }}

@endif @error($key)

{{ $message }}

@enderror