You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scenario - When user's browser language set to any other language than English, date picker is unable to initialise. Workaround - Set locale explicitly to english using - :locale="{lang: 'en'}" prop.
RangeError: Maximum call stack size exceeded
at ? (./node_modules/@mathieustan/vue-datepicker/dist/vue-datepicker.esm.js:5:73274)
at Xt(./node_modules/@mathieustan/vue-datepicker/dist/vue-datepicker.esm.js:5:73274)
at Xt(./node_modules/@mathieustan/vue-datepicker/dist/vue-datepicker.esm.js:5:73444)
The text was updated successfully, but these errors were encountered:
Scenario - When user's browser language set to any other language than English, date picker is unable to initialise. Workaround - Set locale explicitly to english using - :locale="{lang: 'en'}" prop.
RangeError: Maximum call stack size exceeded
at ? (./node_modules/@mathieustan/vue-datepicker/dist/vue-datepicker.esm.js:5:73274)
at Xt(./node_modules/@mathieustan/vue-datepicker/dist/vue-datepicker.esm.js:5:73274)
at Xt(./node_modules/@mathieustan/vue-datepicker/dist/vue-datepicker.esm.js:5:73444)
For Russian language all is ok. But for Romanian I have the same error
Has anyone found a real solution for this? The numbers do not show for some of my users outside the UK even with lang: 'en' selected.
In case you are not already doing it, make sure you use v-bind on the prop by using - :locale="{lang: 'en'}" or v-bind:locale="{lang: 'en'}"
So that it receives object instead of string. That way it worked fine for me.
This seems related to this closed issue - #54
Scenario - When user's browser language set to any other language than English, date picker is unable to initialise.
Workaround - Set locale explicitly to english using -
:locale="{lang: 'en'}"
prop.The text was updated successfully, but these errors were encountered: