Skip to content

Commit 8491def

Browse files
authored
Merge pull request #314 from ProcessMaker/bugfix/FOUR-4849
Visibility rule not working in 4.1.23
2 parents 7ae167d + 168fb2f commit 8491def

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/FormSelectList.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,10 @@
134134
},
135135
fillSelectListOptions() {
136136
if (this.options.dataSource && this.options.dataSource === 'provideData') {
137-
this.selectListOptions = this.options && this.options.optionsList ? this.options.optionsList : [];
137+
if (this.options && this.options.optionsList && !isEqual(this.selectListOptions, this.options.optionsList)) {
138+
this.selectListOptions = this.options.optionsList;
139+
}
140+
this.selectListOptions = this.selectListOptions || [];
138141
}
139142
140143
if (this.options.dataSource && this.options.dataSource === 'dataObject') {

0 commit comments

Comments
 (0)