diff --git a/resources/views/forms/partials/inputAttributes.blade.php b/resources/views/forms/partials/inputAttributes.blade.php index acaff76f..b6d84454 100644 --- a/resources/views/forms/partials/inputAttributes.blade.php +++ b/resources/views/forms/partials/inputAttributes.blade.php @@ -1,4 +1,4 @@ -name="{{ preg_replace('/\.([^\.]*)/', '[$1]', $name) }}" +name="{{ preg_replace('/\.([^\.]+)/', '[$1]', $name) }}" id="{{ $controlId }}" @if($errors->hasAny($errorsKeys ?? $name)) aria-invalid="true"