ember-flatpickr icon indicating copy to clipboard operation
ember-flatpickr copied to clipboard

fix(locale): don't try dynamically importing the default locale

Open anehx opened this issue 1 year ago • 1 comments

If "en" is passed as locale to the <EmberFlatpickr /> component, the addon will try importing a file flatpickr/dist/l10n/en.js which does not exist as English is the default language that is included in the core and doesn't need to be imported additionally.

anehx avatar Mar 14 '24 10:03 anehx

Ah, good catch, thank you @anehx!

RobbieTheWagner avatar Mar 14 '24 12:03 RobbieTheWagner

@RobbieTheWagner Can we get this merged and released? I have a few projects that currently need a workaround that can be removed with this released.

anehx avatar Mar 18 '24 09:03 anehx