diff --git a/resources/views/components/form/base.blade.php b/resources/views/components/form/base.blade.php index 6e9a379..7d333fa 100644 --- a/resources/views/components/form/base.blade.php +++ b/resources/views/components/form/base.blade.php @@ -22,6 +22,6 @@ @isset($helper) - {{ $helper }} + {!! html_entity_decode($helper) !!} @endif \ No newline at end of file diff --git a/resources/views/components/form/select.blade.php b/resources/views/components/form/select.blade.php index cf29001..8432c1e 100644 --- a/resources/views/components/form/select.blade.php +++ b/resources/views/components/form/select.blade.php @@ -1,6 +1,6 @@ - @if(empty($value) || isset($addnew) || isset($choose)) @isset($addnew) @@ -51,12 +51,9 @@ dropdownAutoWidth: true, width: 'style', allowClear: true, - placeholder: '', + placeholder: '{{ $placeholder ?? '' }}', @isset($addvalues) - tags: true, - @isset($placeholder) - placeholder: '{{ $placeholder }}', - @endisset + tags: true, @endisset }); });