Textarea bugfix solved in modal

This commit is contained in:
Burak Civan 2021-06-22 10:35:17 +03:00
parent e71705de4d
commit b02e46c062
3 changed files with 14 additions and 2 deletions

View File

@ -20,6 +20,10 @@
{{ Form::textareaGroup('address', trans('settings.company.address'), null, setting('company.address')) }} {{ Form::textareaGroup('address', trans('settings.company.address'), null, setting('company.address')) }}
<div class="form-group col-md-12 d-none">
<textarea name="address" class="form-control" rows="3">{{ setting('company.address') }}</textarea>
</div>
{!! Form::hidden('_prefix', 'company') !!} {!! Form::hidden('_prefix', 'company') !!}
</div> </div>
{!! Form::close() !!} {!! Form::close() !!}

View File

@ -19,7 +19,11 @@
{{ Form::selectGroup('currency_code', trans_choice('general.currencies', 1), 'exchange-alt', $currencies, $customer->currency_code) }} {{ Form::selectGroup('currency_code', trans_choice('general.currencies', 1), 'exchange-alt', $currencies, $customer->currency_code) }}
{{ Form::textareaGroup('address', trans('general.address'), $customer->address) }} {{ Form::textareaGroup('address', trans('general.address'), null, $customer->address) }}
<div class="form-group col-md-12 d-none">
<textarea name="address" class="form-control" rows="3">{{ $customer->address }}</textarea>
</div>
{{ Form::hidden('type', 'customer') }} {{ Form::hidden('type', 'customer') }}
{!! Form::hidden('enabled', '1', []) !!} {!! Form::hidden('enabled', '1', []) !!}

View File

@ -19,7 +19,11 @@
{{ Form::selectGroup('currency_code', trans_choice('general.currencies', 1), 'exchange-alt', $currencies, $vendor->currency_code) }} {{ Form::selectGroup('currency_code', trans_choice('general.currencies', 1), 'exchange-alt', $currencies, $vendor->currency_code) }}
{{ Form::textareaGroup('address', trans('general.address')) }} {{ Form::textareaGroup('address', trans('general.address'), null, $vendor->address) }}
<div class="form-group col-md-12 d-none">
<textarea name="address" class="form-control" rows="3">{{ $vendor->address }}</textarea>
</div>
{{ Form::hidden('type', 'vendor') }} {{ Form::hidden('type', 'vendor') }}
{!! Form::hidden('enabled', '1', []) !!} {!! Form::hidden('enabled', '1', []) !!}