Form group add show feature in attribute..

This commit is contained in:
Cüneyt Şentürk 2020-03-19 22:57:28 +03:00
parent e947cc9332
commit 3500570b92
12 changed files with 137 additions and 93 deletions

View File

@ -55,6 +55,10 @@
:disabled="{{ $attributes['disabled'] }}" :disabled="{{ $attributes['disabled'] }}"
@endif @endif
@if (isset($attributes['show']))
v-if="{{ $attributes['show'] }}"
@endif
@if (isset($attributes['v-error-message'])) @if (isset($attributes['v-error-message']))
:form-error="{{ $attributes['v-error-message'] }}" :form-error="{{ $attributes['v-error-message'] }}"
@else @else

View File

@ -60,6 +60,10 @@
:disabled="{{ $attributes['disabled'] }}" :disabled="{{ $attributes['disabled'] }}"
@endif @endif
@if (isset($attributes['show']))
v-if="{{ $attributes['show'] }}"
@endif
@if (isset($attributes['v-error-message'])) @if (isset($attributes['v-error-message']))
:form-error="{{ $attributes['v-error-message'] }}" :form-error="{{ $attributes['v-error-message'] }}"
@else @else

View File

@ -19,6 +19,10 @@
:disabled="{{ $attributes['disabled'] }}" :disabled="{{ $attributes['disabled'] }}"
@endif @endif
@if (isset($attributes['show']))
v-if="{{ $attributes['show'] }}"
@endif
@if (isset($attributes['masked'])) @if (isset($attributes['masked']))
:masked="{{ ($attributes['masked']) ? 'true' : 'false' }}" :masked="{{ ($attributes['masked']) ? 'true' : 'false' }}"
@endif @endif

View File

@ -71,6 +71,10 @@
:disabled="{{ $attributes['disabled'] }}" :disabled="{{ $attributes['disabled'] }}"
@endif @endif
@if (isset($attributes['show']))
v-if="{{ $attributes['show'] }}"
@endif
@if (isset($attributes['v-error-message'])) @if (isset($attributes['v-error-message']))
:form-error="{{ $attributes['v-error-message'] }}" :form-error="{{ $attributes['v-error-message'] }}"
@else @else

View File

@ -49,6 +49,10 @@
:disabled="{{ $attributes['disabled'] }}" :disabled="{{ $attributes['disabled'] }}"
@endif @endif
@if (isset($attributes['show']))
v-if="{{ $attributes['show'] }}"
@endif
@if (isset($attributes['v-error-message'])) @if (isset($attributes['v-error-message']))
:form-error="{{ $attributes['v-error-message'] }}" :form-error="{{ $attributes['v-error-message'] }}"
@else @else

View File

@ -65,6 +65,10 @@
:disabled="{{ $attributes['disabled'] }}" :disabled="{{ $attributes['disabled'] }}"
@endif @endif
@if (isset($attributes['show']))
v-if="{{ $attributes['show'] }}"
@endif
@if (isset($attributes['v-error-message'])) @if (isset($attributes['v-error-message']))
:form-error="{{ $attributes['v-error-message'] }}" :form-error="{{ $attributes['v-error-message'] }}"
@else @else

View File

@ -43,6 +43,10 @@
:disabled="{{ $attributes['disabled'] }}" :disabled="{{ $attributes['disabled'] }}"
@endif @endif
@if (isset($attributes['show']))
v-if="{{ $attributes['show'] }}"
@endif
@if (isset($attributes['v-error-message'])) @if (isset($attributes['v-error-message']))
:form-error="{{ $attributes['v-error-message'] }}" :form-error="{{ $attributes['v-error-message'] }}"
@else @else

View File

@ -67,6 +67,10 @@
:disabled="{{ $attributes['disabled'] }}" :disabled="{{ $attributes['disabled'] }}"
@endif @endif
@if (isset($attributes['show']))
v-if="{{ $attributes['show'] }}"
@endif
@if (isset($attributes['v-error-message'])) @if (isset($attributes['v-error-message']))
:form-error="{{ $attributes['v-error-message'] }}" :form-error="{{ $attributes['v-error-message'] }}"
@else @else

View File

@ -45,6 +45,10 @@
:disabled="{{ $attributes['disabled'] }}" :disabled="{{ $attributes['disabled'] }}"
@endif @endif
@if (isset($attributes['show']))
v-if="{{ $attributes['show'] }}"
@endif
@if (isset($attributes['v-error-message'])) @if (isset($attributes['v-error-message']))
:form-error="{{ $attributes['v-error-message'] }}" :form-error="{{ $attributes['v-error-message'] }}"
@else @else

View File

@ -43,6 +43,10 @@
:disabled="{{ $attributes['disabled'] }}" :disabled="{{ $attributes['disabled'] }}"
@endif @endif
@if (isset($attributes['show']))
v-if="{{ $attributes['show'] }}"
@endif
@if (isset($attributes['v-error-message'])) @if (isset($attributes['v-error-message']))
:form-error="{{ $attributes['v-error-message'] }}" :form-error="{{ $attributes['v-error-message'] }}"
@else @else

View File

@ -48,6 +48,10 @@
:disabled="{{ $attributes['disabled'] }}" :disabled="{{ $attributes['disabled'] }}"
@endif @endif
@if (isset($attributes['show']))
v-if="{{ $attributes['show'] }}"
@endif
@if(isset($attributes['v-error-message'])) @if(isset($attributes['v-error-message']))
:form-error="{{ $attributes['v-error-message'] }}" :form-error="{{ $attributes['v-error-message'] }}"
@else @else