placeholder property added for textarea controls.

This commit is contained in:
Sevan Nerse 2019-11-16 13:11:23 +03:00
parent 2d92db33ec
commit 782c97db00

View File

@ -9,6 +9,7 @@
'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'] : 'form.' . $name
], $attributes)) !!}