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>
</el-option-group> </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"> <div @click="onAddItem">
<i class="fas fa-plus"></i> <i class="fas fa-plus"></i>
<span> <span>

View File

@ -88,7 +88,7 @@
</el-option> </el-option>
</el-option-group> </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"> <div @click="onAddItem">
<i class="fas fa-plus"></i> <i class="fas fa-plus"></i>
<span> <span>

View File

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

View File

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

View File

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