Skip to content

Commit 517b70d

Browse files
author
Surya
committed
ADD extra attributes on hidden fields
1 parent 223a4c9 commit 517b70d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

views/container.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@if($type === 'hidden')
2-
<input type="hidden" name="{{ $name }}" value="{{ $value }}">
2+
<input type="hidden" name="{{ $name }}" value="{{ $value }}" {!! $extraAttributes !!}>
33
@else
44
{!! isset($col) ? '<div class="'.$col.'">' : '' !!}
55
<div class="{{ $containerClasses ?? 'form-group' }}" @if($errors->has($name)) data-server-error="{{ $errors->first($name) }}" @endif {!! $containerAttributes !!}>

0 commit comments

Comments
 (0)