dynamic options controlled

This commit is contained in:
Burak Civan 2022-12-19 12:37:19 +03:00
parent a9703e45ca
commit b85269c9b5
2 changed files with 8 additions and 0 deletions

View File

@ -994,6 +994,10 @@ export default {
if (this.group) {
// Option set sort_option data
if (! Array.isArray(options)) {
if (typeof(this.selected) == 'string') {
this.selected = '';
}
for (const [index, _options] of Object.entries(options)) {
let values = [];

View File

@ -1203,6 +1203,10 @@ export default {
if (this.group) {
// Option set sort_option data
if (!Array.isArray(options)) {
if (typeof(this.selected) == 'string') {
this.selected = '';
}
for (const [index, _options] of Object.entries(options)) {
let values = [];