refactor: edit select
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 5s
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 5s
This commit is contained in:
parent
77f66ca302
commit
67ca569ad1
9 changed files with 32 additions and 32 deletions
|
|
@ -2,7 +2,7 @@
|
|||
import { ref, onMounted } from 'vue';
|
||||
|
||||
import { createSelect, SelectProps } from './select';
|
||||
import SelectInput from '../SelectInput.vue';
|
||||
import SelectBase from './SelectBase.vue';
|
||||
|
||||
import { ProductGroup } from 'stores/product-service/types';
|
||||
|
||||
|
|
@ -71,7 +71,7 @@ function setDefaultValue() {
|
|||
}
|
||||
</script>
|
||||
<template>
|
||||
<SelectInput
|
||||
<SelectBase
|
||||
v-model="value"
|
||||
incremental
|
||||
option-label="code"
|
||||
|
|
@ -80,7 +80,7 @@ function setDefaultValue() {
|
|||
:placeholder
|
||||
:readonly
|
||||
:disable="disabled"
|
||||
:option="selectOptions"
|
||||
:options="selectOptions"
|
||||
:hide-selected="false"
|
||||
:fill-input="false"
|
||||
:rules="[
|
||||
|
|
@ -120,5 +120,5 @@ function setDefaultValue() {
|
|||
</span>
|
||||
</q-item-section>
|
||||
</template>
|
||||
</SelectInput>
|
||||
</SelectBase>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue