@bimdata/design-system 2.1.0-rc.2 → 2.1.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -116,7 +116,7 @@ export default {
|
|
|
116
116
|
type: String,
|
|
117
117
|
default: "Search",
|
|
118
118
|
},
|
|
119
|
-
|
|
119
|
+
resetOnLeave: {
|
|
120
120
|
type: Boolean,
|
|
121
121
|
default: false,
|
|
122
122
|
},
|
|
@@ -192,7 +192,7 @@ export default {
|
|
|
192
192
|
this.$emit("update:modelValue", options);
|
|
193
193
|
},
|
|
194
194
|
resetSearch() {
|
|
195
|
-
if (this.
|
|
195
|
+
if (this.clearSearchOnLeave) {
|
|
196
196
|
this.searchText = "";
|
|
197
197
|
}
|
|
198
198
|
},
|
|
@@ -117,7 +117,7 @@ export default {
|
|
|
117
117
|
type: String,
|
|
118
118
|
default: "Search",
|
|
119
119
|
},
|
|
120
|
-
|
|
120
|
+
clearSearchOnLeave: {
|
|
121
121
|
type: Boolean,
|
|
122
122
|
default: false,
|
|
123
123
|
},
|
|
@@ -180,7 +180,7 @@ export default {
|
|
|
180
180
|
return this.optionKey && option && option.optionGroup;
|
|
181
181
|
},
|
|
182
182
|
resetSearch() {
|
|
183
|
-
if (this.
|
|
183
|
+
if (this.clearSearchOnLeave) {
|
|
184
184
|
this.searchText = "";
|
|
185
185
|
}
|
|
186
186
|
},
|