Change currency money group issue solved.
This commit is contained in:
@ -1,6 +1,12 @@
|
||||
@stack($name . '_input_start')
|
||||
|
||||
<akaunting-money :col="'{{ $col }}'"
|
||||
@if (!empty($attributes['v-error']))
|
||||
:form-classes="[{'has-error': {{ $attributes['v-error'] }} }]"
|
||||
@else
|
||||
:form-classes="[{'has-error': form.errors.has('{{ $name }}') }]"
|
||||
@endif
|
||||
|
||||
@if (isset($attributes['required']))
|
||||
:required="{{ ($attributes['required']) ? 'true' : 'false' }}"
|
||||
@endif
|
||||
@ -10,7 +16,7 @@
|
||||
@endif
|
||||
|
||||
@if (isset($attributes['disabled']))
|
||||
:disabled="{{ $attributes['disabled'] }}"
|
||||
:disabled="'{{ $attributes['disabled'] }}'"
|
||||
@endif
|
||||
|
||||
@if (isset($attributes['masked']))
|
||||
@ -27,6 +33,8 @@
|
||||
|
||||
@if (!empty($attributes['dynamic-currency']))
|
||||
:dynamic-currency="{{ $attributes['dynamic-currency'] }}"
|
||||
@else
|
||||
:dynamic-currency="currency"
|
||||
@endif
|
||||
|
||||
@if (!empty($attributes['v-model']))
|
||||
@ -44,6 +52,12 @@
|
||||
@else
|
||||
@interface="form.{{ $name }} = $event"
|
||||
@endif
|
||||
|
||||
@if (isset($attributes['v-error-message']))
|
||||
:form-error="{{ $attributes['v-error-message'] }}"
|
||||
@else
|
||||
:form-error="form.errors.get('{{ $name }}')"
|
||||
@endif
|
||||
></akaunting-money>
|
||||
|
||||
@stack($name . '_input_end')
|
||||
|
Reference in New Issue
Block a user