Select and Select remote add new button issue solved..
This commit is contained in:
parent
0af4c5df77
commit
25866056cc
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user