Hi,
I'm try to enable mask on DateTimePicker and TimePicker component programaticall (without template) on vue3. I've been following the official documentation for these components:
Demos:
https://ej2.syncfusion.com/vue/demos/#/material/datetimepicker/input-mask.html
https://ej2.syncfusion.com/vue/demos/#/material/timepicker/input-mask.html
Documentation: (examples don't work, they stay freezed on 'Loading....' status)
https://ej2.syncfusion.com/vue/documentation/datetimepicker/date-time-masking/#enable-the-masked-input
I've added MaskedDateTime in provide property at App.vue:
And This is an extract from my DateTimePicker component.
But mask doesn't appear at DateTimePicker neither TimePicker.
How can I solve this problem?
|
write: (args) => {
datePickerObj = new DateTimePicker({
value: new Date(args.rowData[args.column.field]),
enableMask: true,
format: "dd/MM/yyyy HH:mm",
floatLabelType: "Never",
});
datePickerObj.appendTo(elem);
},
|
|
|
Sorry but your example doesn't work.
We've already used enableMask and format attributes but it doesn't work.
How can we solve this problem?