select remote placeholder dynamic

This commit is contained in:
Cihan Şentürk 2021-10-06 10:29:08 +03:00
parent 5ca55088cf
commit 05df88595f

View File

@ -13,7 +13,13 @@
icon="{{ $icon }}"
title="{{ $text }}"
@if (isset($attributes['placeholder']))
placeholder="{{ $attributes['placeholder'] }}"
@else
placeholder="{{ trans('general.form.select.field', ['field' => $text]) }}"
@endif
name="{{ $name }}"
:options="{{ json_encode($values) }}"
@ -48,7 +54,7 @@
@if (!empty($attributes['visible-change']))
@visible-change="{{ $attributes['visible-change'] }}"
@endif
@if (isset($attributes['readonly']))
:readonly="{{ $attributes['readonly'] }}"
@endif