@wwtdev/bsds-components-vue3 2.9.4 → 2.9.5
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/lib/bsds-components.js +6 -1
- package/package.json +1 -1
package/lib/bsds-components.js
CHANGED
|
@@ -3114,6 +3114,10 @@ const ln = {
|
|
|
3114
3114
|
}, Vt = {
|
|
3115
3115
|
__name: "BsDropdownMultiselect",
|
|
3116
3116
|
props: {
|
|
3117
|
+
focusOnOpen: {
|
|
3118
|
+
type: Boolean,
|
|
3119
|
+
default: !0
|
|
3120
|
+
},
|
|
3117
3121
|
label: {
|
|
3118
3122
|
type: String,
|
|
3119
3123
|
default: "Select an option"
|
|
@@ -3156,7 +3160,7 @@ const ln = {
|
|
|
3156
3160
|
b,
|
|
3157
3161
|
{ immediate: !0 }
|
|
3158
3162
|
), j(() => t.shown, ($) => {
|
|
3159
|
-
$ && Ae(f);
|
|
3163
|
+
$ && t.focusOnOpen && Ae(f);
|
|
3160
3164
|
});
|
|
3161
3165
|
function f() {
|
|
3162
3166
|
n.value && (n.value.refreshOptions(), n.value.optionsRef.focus());
|
|
@@ -4251,6 +4255,7 @@ const ln = {
|
|
|
4251
4255
|
default: E(() => [
|
|
4252
4256
|
e.multiselect ? (u(), O(Vt, {
|
|
4253
4257
|
key: 0,
|
|
4258
|
+
"focus-on-open": !1,
|
|
4254
4259
|
label: e.label,
|
|
4255
4260
|
options: S.value,
|
|
4256
4261
|
"options-id": m.value,
|