-
Couldn't load subscription status.
- Fork 1.8k
fix: Increase page[size] to render all form fields. #3586
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
fix: Increase page[size] to render all form fields. #3586
Conversation
|
@mariobehling @iamareebjamal Please review. |
|
Change it to 0 |
|
Provide a screenshot without jumbled fields and all fields rendering |
|
@iamareebjamal Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also page size 0 don't make any sense, rather then looking for a short fix , make the form y-scrollable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@iamareebjamal Done.
@prateekj117 I think you didn't read and understand the comment. Also I suggest you to please go through Contribution & Best practices Guide once again. As I was already working on the issue and you dropped a comment made a PR without even notifying me.
|
@kushthedude Check gitter. |
|
It was an urgent issue and a small fix. @kushthedude You already have a lot of issues assigned. Also, why page[size] 0 doesn't make any sense? I have suggested that. How is that a temporary fix? What else can be a "correct" solution? The issue simply is that jsonapi limits the results by page size, so it needs to be set to 0 which means don't limit the results |
|
And yes, make the form y-scrollable @prateekj117 if its size is greater than the viewport |
I didnt know about that. Also setting Also @iamareebjamal you will have to manually fix the order of fields in |
Why?
If you do that, and keep page[size] = 50, all fields won't be fetched
Can you please paste the expected order of the fields? And why is it not present in the API/frontend? |
|
@iamareebjamal Please review. |
|
Session Form screenshots? |
|
@iamareebjamal Not missing any field in session form. |
|
Issue says that there are missing elements in it |
|
@iamareebjamal In case of sessions, I see all fields in the form as selected in the screenshots provided by @mariobehling Sir in the issue. |


Fixes #3585
Short description of what this resolves:
In total, all custom fields related to an event (speaker custom fields + session custom fields + attendee custom fields) can have a size of 55, while we only fetch 50, which causes us to lose some fields rendering from server.
Changes proposed in this pull request:
Checklist
developmentbranch.