@yomotech/view-toolkit 0.0.65 → 0.0.66
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.
|
@@ -3192,8 +3192,9 @@ class ModelComponent {
|
|
|
3192
3192
|
onTimePanelShow(formField, event) {
|
|
3193
3193
|
let value = this.modalItemInfo.propertySchema[this.getScope(formField.scope?.reference)][formField.scope?.reference.split('/').pop()]?.value;
|
|
3194
3194
|
if (!value) {
|
|
3195
|
-
|
|
3196
|
-
this.
|
|
3195
|
+
let currentDate = new Date();
|
|
3196
|
+
this.modalItemInfo.propertySchema[this.getScope(formField.scope?.reference)][formField.scope?.reference.split('/').pop()].value = currentDate;
|
|
3197
|
+
this.handleRules(formField, currentDate);
|
|
3197
3198
|
}
|
|
3198
3199
|
}
|
|
3199
3200
|
getControlStyle(formField) {
|