@signal24/vue-foundation 4.25.4 → 4.25.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.
|
@@ -42,6 +42,19 @@
|
|
|
42
42
|
|
|
43
43
|
Selected value: {{ selectedDelayedOption2 ?? '-' }}
|
|
44
44
|
</div>
|
|
45
|
+
|
|
46
|
+
<div>
|
|
47
|
+
<VfSmartSelect
|
|
48
|
+
v-model="selectedDelayedOption3"
|
|
49
|
+
:options="delayedOptions"
|
|
50
|
+
label-field="label"
|
|
51
|
+
value-field="value"
|
|
52
|
+
group-field="group"
|
|
53
|
+
null-title="No selection"
|
|
54
|
+
/>
|
|
55
|
+
|
|
56
|
+
Selected value: {{ selectedDelayedOption3 ?? '-' }}
|
|
57
|
+
</div>
|
|
45
58
|
</div>
|
|
46
59
|
</template>
|
|
47
60
|
|
|
@@ -75,7 +88,8 @@ const delayedOptions = ref<IOption[]>();
|
|
|
75
88
|
const selectedInstantOption1 = ref<IOption | null>(null);
|
|
76
89
|
const selectedInstantOption2 = ref<IOption | null>(null);
|
|
77
90
|
const selectedDelayedOption1 = ref<IOption | null>(options[1]);
|
|
78
|
-
const selectedDelayedOption2 = ref<string | null>(
|
|
91
|
+
const selectedDelayedOption2 = ref<string | null>('2');
|
|
92
|
+
const selectedDelayedOption3 = ref<string | null>('19'); // intentionally invalid value
|
|
79
93
|
|
|
80
94
|
function setDelayedOptions() {
|
|
81
95
|
delayedOptions.value = cloneDeep(options);
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export declare function cloneProp<T>(prop: T | undefined | null, fallback: T): T;
|
|
2
2
|
export declare function nullifyEmptyInputs<T extends Record<string, unknown>, K extends keyof T>(obj: T, fields: K[]): T;
|
|
3
|
+
export declare function isNotNullOrUndefined<T>(value: T | null | undefined): value is T;
|