Select and select remote fixed..
This commit is contained in:
@ -68,11 +68,11 @@
|
|||||||
<el-option-group
|
<el-option-group
|
||||||
v-if="group"
|
v-if="group"
|
||||||
v-for="(group_options, group_index) in sortOptions"
|
v-for="(group_options, group_index) in sortOptions"
|
||||||
:key="group_options.key"
|
:key="group_index"
|
||||||
:label="group_options.key">
|
:label="group_options.key">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="(option, option_index) in group_options.value"
|
v-for="(option, option_index) in group_options.value"
|
||||||
:key="option.option_index"
|
:key="option_index"
|
||||||
:disabled="disabledOptions.includes(option.key)"
|
:disabled="disabledOptions.includes(option.key)"
|
||||||
:label="option.value"
|
:label="option.value"
|
||||||
:value="option.key">
|
:value="option.key">
|
||||||
|
@ -170,12 +170,13 @@
|
|||||||
:label="group_options.key">
|
:label="group_options.key">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="(option, option_index) in group_options.value"
|
v-for="(option, option_index) in group_options.value"
|
||||||
:key="option.option_index"
|
:key="option_index"
|
||||||
:disabled="disabledOptions.includes(option.key)"
|
:disabled="disabledOptions.includes(option.key)"
|
||||||
:label="option.value"
|
:label="option.value"
|
||||||
:value="option.key">
|
:value="option.key">
|
||||||
<span class="float-left">{{ option.value }}</span>
|
<span class="float-left">{{ option.value }}</span>
|
||||||
<span class="badge badge-pill badge-success float-right mt-2" v-if="new_options[option.key]">{{ addNew.new_text }}</span>
|
<span class="badge badge-pill badge-success float-right mt-2" v-if="new_options[option.key]">{{ addNew.new_text }}</span>
|
||||||
|
</el-option>
|
||||||
</el-option-group>
|
</el-option-group>
|
||||||
|
|
||||||
<el-option class="el-select__footer" :disabled="true" :value="add_new">
|
<el-option class="el-select__footer" :disabled="true" :value="add_new">
|
||||||
|
Reference in New Issue
Block a user