Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InternalError: too much recursion error on webpage #81

Open
nuriakman opened this issue Feb 24, 2021 · 5 comments
Open

InternalError: too much recursion error on webpage #81

nuriakman opened this issue Feb 24, 2021 · 5 comments

Comments

@nuriakman
Copy link

Hi,

I visit https://vue-datepicker.netlify.app/ to how it works. But there was no datepicket on screen.

I checked to console and I see this error:

InternalError: too much recursion
isValidLocale vue-datepicker.esm.js:5
getLocale vue-datepicker.esm.js:5 ------> This line repeats more than 1000 time

@Aviking88
Copy link

Faced the same and found the cause, It was happening due to locale.

@yemanjo
Copy link

yemanjo commented Mar 15, 2021

Faced the same and found the cause, It was happening due to locale.

Did you find proper workaround?

@Aviking88
Copy link

yes @yemanjo , I have specified lang at the time of registration,

Vue.use(VueDatePicker, { lang: 'en' });

@Mateis
Copy link

Mateis commented May 6, 2022

I have the same problem.

This doesn't help:
Vue.use(VueDatePicker, { lang: 'en' });

This does partly:
<VueDatePicker v-model="xxx" :locale="{ lang: 'en' }" />

But when I click the selector and it opens the calendar modal, I get the recursion error again. This time in VDPickerTableDay

Version: ^0.2.11
Browser: FireFox

@Mateis
Copy link

Mateis commented May 6, 2022

these issues are related:

And there is a hotfix here (for Chrome): #100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants