osl-base-extended 1.0.18 → 1.0.19
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.
|
@@ -1690,7 +1690,11 @@ class OslDatepicker {
|
|
|
1690
1690
|
label = '';
|
|
1691
1691
|
required = false;
|
|
1692
1692
|
disabled = false;
|
|
1693
|
-
|
|
1693
|
+
_model = '';
|
|
1694
|
+
set model(val) {
|
|
1695
|
+
this._model = val?.includes('T') ? val.split('T')[0] : (val ?? '');
|
|
1696
|
+
}
|
|
1697
|
+
get model() { return this._model; }
|
|
1694
1698
|
dateType = 'date';
|
|
1695
1699
|
placeholder = '';
|
|
1696
1700
|
minDate = '';
|