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

"too much recursion" with jQuery 3.4 using enum #764

Open
brockfanning opened this issue Aug 9, 2021 · 0 comments
Open

"too much recursion" with jQuery 3.4 using enum #764

brockfanning opened this issue Aug 9, 2021 · 0 comments

Comments

@brockfanning
Copy link

brockfanning commented Aug 9, 2021

This issue is easily fixed by using another version of jQuery other than 3.4 (like going up to 3.5.0 or going back to 3.3.1) but I thought I would post it here in case anyone else ran into it. Feel free to immediately close this - I just wanted it to be searchable.

This is a weird bug, but it really seems to happen... If using jQuery 3.4, and a field has an "enum" with 3 or fewer items, Alpaca fails with "too much recursion". Changing the enum to four or more items fixes the problem. And as mentioned above, changing the jQuery version also fixes the problem.

Here is an example: https://codepen.io/brockfanning/pen/oNWQJYr

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

1 participant