Tweak file input error (multiple input bug) #4

This commit is contained in:
samy
2025-06-17 17:13:24 -10:00
parent aca8a274e8
commit 734013ce5e
2 changed files with 2 additions and 2 deletions
@@ -1,4 +1,4 @@
@props(['name'])
@props(['name', 'type' => 'text', 'multiple' => false])
@if($type === 'file' && $multiple)
@foreach ($errors->get( rtrim($name, []) . '.*') as $messages)