detfaellesdesignsystem / dkfds-components

Styling og komponenter
Other
43 stars 13 forks source link

DKFDS.datePicker.setLanguage does not exist #198

Closed martynasmartynas closed 1 year ago

martynasmartynas commented 1 year ago

As per instructions here, I am trying to setup different languages for date input component, but it says that setLanguage does not exist.

Can you help me to make multilingual datePicker?

detfaellesdesignsystem commented 1 year ago

Hello @martynasmartynas

Thank you for writing!

Are you using the latest version of DKFDS? If yes, please check whether the function "setLanguage" is in your "dkfds.js" file (try searching for "setLanguage") and we will take it from there.

Best regards Helle Juhl Det Fælles Designsystem

martynasmartynas commented 1 year ago

Yes, that worked. Sorry about that :)