select remote placeholder dynamic
This commit is contained in:
parent
5ca55088cf
commit
05df88595f
@ -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) }}"
|
||||||
|
|
||||||
@ -48,7 +54,7 @@
|
|||||||
@if (!empty($attributes['visible-change']))
|
@if (!empty($attributes['visible-change']))
|
||||||
@visible-change="{{ $attributes['visible-change'] }}"
|
@visible-change="{{ $attributes['visible-change'] }}"
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if (isset($attributes['readonly']))
|
@if (isset($attributes['readonly']))
|
||||||
:readonly="{{ $attributes['readonly'] }}"
|
:readonly="{{ $attributes['readonly'] }}"
|
||||||
@endif
|
@endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user