The value for setDefaultOptions is lost after refreshing #3409
Unanswered
alexandrapopa96
asked this question in
General
Replies: 2 comments
-
you can save this information in browser cache |
Beta Was this translation helpful? Give feedback.
0 replies
-
Persist the user choice in localStorage or a cookie, or as part of their user preferences if you authenticate them and have a profile in some database. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am using setDefaultOptions() function to set the default locale to the current language of a user after logging in and works perfect, but after refreshing, the locale is reseted to the initial default one, in english.
Can't this value be persistent? Or is there any other way to do the setting described as needed?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions