web form date time config

This commit is contained in:
Yuri Kuznetsov
2024-11-23 11:21:40 +02:00
parent ec2fc5916c
commit ab596c7869
2 changed files with 5 additions and 0 deletions
@@ -226,6 +226,10 @@ class FormService
'currencyList',
'currencyDecimalPlaces',
'addressFormat',
'dateFormat',
'timeFormat',
'timeZone',
'weekStart',
];
$data = [];
+1
View File
@@ -92,6 +92,7 @@ export default class LeadCaptureFormView extends View {
this.getConfig().setMultiple(this.formData.config);
this.getHelper().appParams.setAll(this.formData.appParams);
this.getHelper().fieldManager.defs = this.getMetadata().get('fields');
this.getDateTime().setSettingsAndPreferences(this.getConfig(), this.getPreferences());
if (this.formData.captchaKey) {
// noinspection JSUnresolvedReference