Some checks failed
Tests / PHP 8.1 (push) Has been cancelled
Tests / PHP 8.2 (push) Has been cancelled
Tests / PHP 8.3 (push) Has been cancelled
40 lines
1.0 KiB
PHP
40 lines
1.0 KiB
PHP
|
|
@if (! $attributes->has('withoutAddNew') && ! $attributes->has('without-add-new'))
|
|
<x-form.group.select
|
|
add-new
|
|
:path="$path"
|
|
:field="$field"
|
|
name="{{ $name }}"
|
|
label="{!! trans_choice('general.currencies', 1) !!}"
|
|
:options="$currencies"
|
|
:selected="$selected"
|
|
change="onChangeCurrency"
|
|
|
|
:multiple="$multiple"
|
|
:group="$group"
|
|
form-group-class="{{ $formGroupClass }}"
|
|
:required="$required"
|
|
:readonly="$readonly"
|
|
:disabled="$disabled"
|
|
|
|
{{ $attributes }}
|
|
/>
|
|
@else
|
|
<x-form.group.select
|
|
name="{{ $name }}"
|
|
label="{!! trans_choice('general.currencies', 1) !!}"
|
|
:options="$currencies"
|
|
:selected="$selected"
|
|
change="onChangeCurrency"
|
|
|
|
:multiple="$multiple"
|
|
:group="$group"
|
|
form-group-class="{{ $formGroupClass }}"
|
|
:required="$required"
|
|
:readonly="$readonly"
|
|
:disabled="$disabled"
|
|
|
|
{{ $attributes }}
|
|
/>
|
|
@endif
|