autofocus not work in laravel page
Just passed with array() or in javascript I also tried please help me
{!! Form::open(['url' => action('ProductController@saveQuickProduct'), 'method' => 'post', 'id' => 'quick_add_product_form' ]) !!}
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="modalTitle">@lang( 'product.add_new_product' )</h4>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-4">
<div class="form-group">
{!! Form::label('name', __('product.product_name') . ':*') !!}
{!! Form::text('c', null,array('autofocus'=>'autofocus'),['class' =>'form-control', 'required',
'placeholder' => __('product.product_name')]); !!}
{!! Form::select('type', ['single' => 'Single', 'variable' => 'Variable'], 'single', ['class' => 'hide', 'id' => 'type']); !!}
</div>
</div>
user can type without click on textbox
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/r58xyJK
via IFTTT
Aucun commentaire:
Enregistrer un commentaire