@fy-/fws-vue 0.9.8 → 0.9.9
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.
|
@@ -25,6 +25,7 @@ const props = withDefaults(
|
|
|
25
25
|
modelValue?: modelValueType;
|
|
26
26
|
checkboxValue?: checkboxValueType;
|
|
27
27
|
options?: string[][];
|
|
28
|
+
dpOptions?: Record<string, any>;
|
|
28
29
|
help?: string;
|
|
29
30
|
error?: string;
|
|
30
31
|
color?: string;
|
|
@@ -41,6 +42,7 @@ const props = withDefaults(
|
|
|
41
42
|
checkboxFalseValue: false,
|
|
42
43
|
disabled: false,
|
|
43
44
|
maxLengthPerTag: 0,
|
|
45
|
+
dpOptions: () => ({}),
|
|
44
46
|
},
|
|
45
47
|
);
|
|
46
48
|
const translate = useTranslation();
|
|
@@ -100,6 +102,7 @@ onMounted(() => {
|
|
|
100
102
|
dpRef.value = new Datepicker(inputRef.value, {
|
|
101
103
|
format: "dd/mm/yyyy",
|
|
102
104
|
autohide: true,
|
|
105
|
+
...props.dpOptions,
|
|
103
106
|
});
|
|
104
107
|
}
|
|
105
108
|
});
|