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 }}" icon="{{ $icon }}"
title="{{ $text }}" title="{{ $text }}"
@if (isset($attributes['placeholder']))
placeholder="{{ $attributes['placeholder'] }}"
@else
placeholder="{{ trans('general.form.select.field', ['field' => $text]) }}" placeholder="{{ trans('general.form.select.field', ['field' => $text]) }}"
@endif
name="{{ $name }}" name="{{ $name }}"
:options="{{ json_encode($values) }}" :options="{{ json_encode($values) }}"