web form date time config
This commit is contained in:
@@ -226,6 +226,10 @@ class FormService
|
||||
'currencyList',
|
||||
'currencyDecimalPlaces',
|
||||
'addressFormat',
|
||||
'dateFormat',
|
||||
'timeFormat',
|
||||
'timeZone',
|
||||
'weekStart',
|
||||
];
|
||||
|
||||
$data = [];
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user