Skip to content

Commit

Permalink
Use wireKey
Browse files Browse the repository at this point in the history
  • Loading branch information
francoism90 committed May 29, 2024
1 parent 7d34670 commit f1c806e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/components/forms/input.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class="{{ $attributes->classFor('label') }}"
<input {{ $attributes
->classMerge([
'input',
'error' => $errors->has($attributes->wireModel()),
'error' => $errors->has($attributes->wireKey()),
])
->merge([
...['id' => $attributes->wireKey(), 'type' => 'text'],
Expand Down

0 comments on commit f1c806e

Please sign in to comment.