Merge pull request #2129 from brkcvn/textarea-value
Textarea value not show in Bootstrap modal.
This commit is contained in:
commit
9fe61aace9
@ -19,7 +19,7 @@
|
||||
|
||||
{{ 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) }}
|
||||
|
||||
{{ Form::hidden('type', 'customer') }}
|
||||
{!! Form::hidden('enabled', '1', []) !!}
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
{{ 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) }}
|
||||
|
||||
{{ Form::hidden('type', 'vendor') }}
|
||||
{!! Form::hidden('enabled', '1', []) !!}
|
||||
|
@ -14,9 +14,8 @@
|
||||
{!! Form::textarea($name, $value, array_merge([
|
||||
'class' => 'form-control',
|
||||
'data-name' => $name,
|
||||
'data-value' => $value,
|
||||
'placeholder' => trans('general.form.enter', ['field' => $text]),
|
||||
'v-model' => !empty($attributes['v-model']) ? $attributes['v-model'] : (!empty($attributes['data-field']) ? 'form.' . $attributes['data-field'] . '.'. $name : 'form.' . $name),
|
||||
'@input' => !empty($attributes['v-model']) ? $attributes['v-model'] . ' = $event.target.value' : (!empty($attributes['data-field']) ? 'form.' . $attributes['data-field'] . '.'. $name . ' = $event.target.value' : 'form.' . $name . ' = $event.target.value'),
|
||||
], $attributes)) !!}
|
||||
|
||||
<div class="invalid-feedback d-block"
|
||||
|
Loading…
x
Reference in New Issue
Block a user