AhamedFrontEndDeveloper
AhamedFrontEndDeveloper
This PR will help to exclude the flatpickr module in vendor file if client is using auto import functionality. In the current behaviour, flatpickr module is included in vendor file...
I am using this addon in my Ember app to work correctly in ember way. By default if i do an ember build, vendor file includes 'flatpickr' module and vendor...
Yes, we are trying to make the initial load smaller. Thought with this approach user can choose the option whether to dynamic import or not based on their needs. This...
Would like to know about your thoughts on the above. @rwwagner90
If we add it directly in the component, we need to handle the loading state till this import (async request) is completed. If user want to render the component immediately...
Introducing auto import in the component during init hook: ember-flatpickr/addon/components/ember-flatpickr.ts: ``` import { Instance as FlatpickrInstance } from 'flatpickr/dist/types/instance'; import { BaseOptions as FlatpickrOptions } from 'flatpickr/dist/types/options'; export default class...
And if we suppose fix the above using some wrapper or other, There is one other scenario where user loads the component based on some condition. The component will be...
Have updated the sample PR to work. [https://github.com/shipshapecode/ember-flatpickr/pull/1233/files](https://github.com/shipshapecode/ember-flatpickr/pull/1233/files) I faced a problem with locales support. Since flatpickr module is not loaded in vendor file, locales modules are not working properly....
Ok @rwwagner90 Thanks. For now, I have forked this repo and using it.