dynamic options controlled
This commit is contained in:
parent
a9703e45ca
commit
b85269c9b5
@ -994,6 +994,10 @@ export default {
|
|||||||
if (this.group) {
|
if (this.group) {
|
||||||
// Option set sort_option data
|
// Option set sort_option data
|
||||||
if (! Array.isArray(options)) {
|
if (! Array.isArray(options)) {
|
||||||
|
if (typeof(this.selected) == 'string') {
|
||||||
|
this.selected = '';
|
||||||
|
}
|
||||||
|
|
||||||
for (const [index, _options] of Object.entries(options)) {
|
for (const [index, _options] of Object.entries(options)) {
|
||||||
let values = [];
|
let values = [];
|
||||||
|
|
||||||
|
@ -1203,6 +1203,10 @@ export default {
|
|||||||
if (this.group) {
|
if (this.group) {
|
||||||
// Option set sort_option data
|
// Option set sort_option data
|
||||||
if (!Array.isArray(options)) {
|
if (!Array.isArray(options)) {
|
||||||
|
if (typeof(this.selected) == 'string') {
|
||||||
|
this.selected = '';
|
||||||
|
}
|
||||||
|
|
||||||
for (const [index, _options] of Object.entries(options)) {
|
for (const [index, _options] of Object.entries(options)) {
|
||||||
let values = [];
|
let values = [];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user