-
+
{{ $t('denumberrange.split_placeholder') }}
-
+
@@ -60,9 +60,17 @@ export default {
return JSON.stringify([])
}
return JSON.stringify(this.element.options.value)
+ },
+ viewIds() {
+ if (!this.element || !this.element.options || !this.element.options.attrs.viewIds) return ''
+ return this.element.options.attrs.viewIds.toString()
}
},
watch: {
+ 'viewIds': function(value, old) {
+ if (typeof value === 'undefined' || value === old) return
+ this.setCondition()
+ },
'defaultvalues': function(value, old) {
if (value === old) return
const values = this.element.options.value
diff --git a/frontend/src/components/widget/DeWidget/DeSelect.vue b/frontend/src/components/widget/DeWidget/DeSelect.vue
index 35e42a2a2b..d9bdab45e8 100644
--- a/frontend/src/components/widget/DeWidget/DeSelect.vue
+++ b/frontend/src/components/widget/DeWidget/DeSelect.vue
@@ -62,10 +62,18 @@ export default {
defaultValueStr() {
if (!this.element || !this.element.options || !this.element.options.value) return ''
return this.element.options.value.toString()
+ },
+ viewIds() {
+ if (!this.element || !this.element.options || !this.element.options.attrs.viewIds) return ''
+ return this.element.options.attrs.viewIds.toString()
}
},
watch: {
+ 'viewIds': function(value, old) {
+ if (typeof value === 'undefined' || value === old) return
+ this.setCondition()
+ },
'defaultValueStr': function(value, old) {
if (value === old) return
this.value = this.fillValueDerfault()
diff --git a/frontend/src/components/widget/DeWidget/DeSelectGrid.vue b/frontend/src/components/widget/DeWidget/DeSelectGrid.vue
index e23c85d97e..43e51a023b 100644
--- a/frontend/src/components/widget/DeWidget/DeSelectGrid.vue
+++ b/frontend/src/components/widget/DeWidget/DeSelectGrid.vue
@@ -75,10 +75,17 @@ export default {
defaultValueStr() {
if (!this.element || !this.element.options || !this.element.options.value) return ''
return this.element.options.value.toString()
+ },
+ viewIds() {
+ if (!this.element || !this.element.options || !this.element.options.attrs.viewIds) return ''
+ return this.element.options.attrs.viewIds.toString()
}
},
watch: {
-
+ 'viewIds': function(value, old) {
+ if (typeof value === 'undefined' || value === old) return
+ this.setCondition()
+ },
'defaultValueStr': function(value, old) {
if (value === old) return
this.value = this.fillValueDerfault()