Open hamodi opened 1 year ago
Hi @hamodi,
I use flatpicker installed in my app and set the this in global Window. So Form.io does not download the library.
`import flatpickr from 'flatpickr';
declare global { interface Window { Flatpickr:any; } } window.Flatpickr = flatpickr; `
I hope this helps. Thanks
hi @henriquesoareslima,
Thank you for the reply! the problem is that after i do that, formio is still requestion from the cdn. It is written directly in the calendarWdiget.js
After upgrading to version 5.5.0-rc.10, whenever i use datetime field the flatpickr library is being dowloaded from https://cdn.form.io/flatpickr-formio/4.6.13-formio.1/l10n/flatpickr-en-US.js but it keeps returning 404. I need it to load from my app rather than the cdn.
Can anyone help me please?
Thank you!