Select and Select remote add new button issue solved..

This commit is contained in:
Cüneyt Şentürk 2021-01-03 17:34:59 +03:00
parent 0af4c5df77
commit 25866056cc
5 changed files with 6 additions and 6 deletions

View File

@ -87,7 +87,7 @@
</el-option>
</el-option-group>
<el-option v-if="!loading && addNew.status && options.length != 0" class="el-select__footer" :disabled="disabled" :value="''">
<el-option v-if="!loading && addNew.status && options.length != 0" class="el-select__footer" :disabled="disabled" value="">
<div @click="onAddItem">
<i class="fas fa-plus"></i>
<span>

View File

@ -88,7 +88,7 @@
</el-option>
</el-option-group>
<el-option v-if="!loading && addNew.status && options.length != 0" class="el-select__footer" :disabled="disabled">
<el-option v-if="!loading && addNew.status && options.length != 0" class="el-select__footer" :disabled="disabled" value="">
<div @click="onAddItem">
<i class="fas fa-plus"></i>
<span>

View File

@ -25,7 +25,7 @@
:dynamic-options="{{ $attributes['dynamicOptions'] }}"
@endif
@if (!empty($selected) || old($name))
@if (isset($selected) || old($name))
:value="{{ json_encode(old($name, $selected)) }}"
@endif

View File

@ -68,7 +68,7 @@
@if (!empty($attributes['visible-change']))
@visible-change="{{ $attributes['visible-change'] }}"
@endif
@if (isset($attributes['readonly']))
:readonly="{{ $attributes['readonly'] }}"
@endif

View File

@ -60,7 +60,7 @@
@elseif (!empty($attributes['data-field']))
@interface="form.errors.clear('{{ 'form.' . $attributes['data-field'] . '.' . $name }}'); {{ 'form.' . $attributes['data-field'] . '.' . $name . ' = $event' }}"
@else
@interface="form.errors.clear('{{ $name }}'); form.{{ $name }} = $event"
@interface="form.{{ $name }} = $event; form.errors.clear('{{ $name }}');"
@endif
@if (!empty($attributes['change']))
@ -70,7 +70,7 @@
@if (!empty($attributes['visible-change']))
@visible-change="{{ $attributes['visible-change'] }}"
@endif
@if (isset($attributes['readonly']))
:readonly="{{ $attributes['readonly'] }}"
@endif