Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

codebranch's avatar

Access @error inside a blade component

How can I access a field error inside a blade component.

@error('{{ $fieldName }}') {{ $message }} @enderror

I used the above code template but won't work

1 like
1 reply

Please or to participate in this conversation.