Prevent coutry autocomplete
This commit is contained in:
parent
1cbb56b8df
commit
e8142a9067
3 changed files with 4 additions and 0 deletions
|
|
@ -96,6 +96,7 @@
|
|||
{!! Former::text('postal_code')
|
||||
->oninput(config('ninja.google_maps_api_key') ? 'lookupPostalCode()' : '') !!}
|
||||
{!! Former::select('country_id')->addOption('','')
|
||||
->autocomplete('off')
|
||||
->fromQuery($countries, 'name', 'id') !!}
|
||||
|
||||
<div class="form-group" id="copyShippingDiv" style="display:none;">
|
||||
|
|
@ -115,6 +116,7 @@
|
|||
->oninput(config('ninja.google_maps_api_key') ? 'lookupPostalCode(true)' : '')
|
||||
->label('postal_code') !!}
|
||||
{!! Former::select('shipping_country_id')->addOption('','')
|
||||
->autocomplete('off')
|
||||
->fromQuery($countries, 'name', 'id')->label('country_id') !!}
|
||||
|
||||
<div class="form-group" id="copyBillingDiv" style="display:none;">
|
||||
|
|
|
|||
|
|
@ -664,6 +664,7 @@
|
|||
->data_bind("value: postal_code, valueUpdate: 'afterkeydown'") !!}
|
||||
{!! Former::select('client[country_id]')
|
||||
->label(trans('texts.country_id'))
|
||||
->autocomplete('off')
|
||||
->addOption('','')->addGroupClass('country_select')
|
||||
->fromQuery($countries, 'name', 'id')
|
||||
->data_bind("dropdown: country_id") !!}
|
||||
|
|
|
|||
1
resources/views/vendors/edit.blade.php
vendored
1
resources/views/vendors/edit.blade.php
vendored
|
|
@ -67,6 +67,7 @@
|
|||
{!! Former::text('postal_code')
|
||||
->oninput(config('ninja.google_maps_api_key') ? 'lookupPostalCode()' : '') !!}
|
||||
{!! Former::select('country_id')->addOption('','')
|
||||
->autocomplete('off')
|
||||
->fromQuery($countries, 'name', 'id') !!}
|
||||
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue