[Bug] include_all_form_fields causes maximum size allowed in big forms
See original GitHub issueBug report
What I did
I have 50 fields in the create operation, one of them is select2_from_ajax with include_all_form_fields.
What I expected to happen
I expect to get items from the Ajax request.
What happened
The response is “414, Request-URI Too Large, The request URL is over the maximum size allowed!”.
What I’ve already tried to fix it
As I see, filling the form with long texts causes the error because it include_all_form_fields
, so I suggest adding an option like include_dependencies_form_fields
to include only the related fields.
Is it a bug in the latest version of Backpack?
After I run composer update backpack/crud
the bug… is it still there?
Backpack, Laravel, PHP, DB version
When I run php artisan backpack:version
the output is:
BACKPACK VERSION:
5.1.0@9e1de794137ceb1ade1fa35e3b9366f97285efb3
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:8 (8 by maintainers)
Top Results From Across the Web
The Reason MS Access Forms and Reports are Limited to 22 ...
With today's large monitors, many Access developers have bumped into the 22" maximum form width. But do you know why it's not 21"...
Read more >javascript - Maximum call stack size exceeded error
It means that somewhere in your code, you are calling a function which in turn calls another function and so forth, until you...
Read more >JavaScript RangeError: Maximum Call Stack Size Exceeded
The JavaScript RangeError: Maximum call stack size exceeded is an error that occurs when there are too many function calls, or if a...
Read more >Maximum call stack size exceeded when require/load very big ...
The json file size is 21M, while its data structure is very simple. Steps to reproduce the bug: yarn start; start an android...
Read more >JavaScript Error: Maximum Call Stack Size Exceeded
Now that you know a little bit about where this error falls within the scope of JavaScript errors, let's continue on to what...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@promatik totally - submit a PR changing “GET” to “POST” please, on the v6 board.
More than that… everywhere. I’d say:
select2_from_ajax
docsselect2_from_ajax_multiple
docsBasically everywhere we teach people to use GET for this… we teach them to use POST instead.