select group placeholder made dynamic

This commit is contained in:
Cihan Şentürk
2022-06-10 18:59:17 +03:00
committed by GitHub
parent 5890a99bf9
commit 12d3a926d0
3 changed files with 6 additions and 10 deletions

View File

@ -33,11 +33,7 @@
title="{{ $label }}"
@endif
@if (isset($attributes['placeholder']))
placeholder="{{ $attributes['placeholder'] }}"
@else
placeholder="{{ trans('general.form.select.field', ['field' => $label]) }}"
@endif
placeholder="{{ $placeholder }}"
name="{{ $name }}"