Skip to content

Form component - use forms anywhere #5801

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

Closed
wants to merge 33 commits into from
Closed

Form component - use forms anywhere #5801

wants to merge 33 commits into from

Conversation

pxpm
Copy link
Contributor

@pxpm pxpm commented May 15, 2025

WHY

BEFORE - What was wrong? What was happening before this PR?

It was almost impossible to use the backpack forms anywhere else other than the create operation.

O opened the PR to get early feedback from @tabacitu

AFTER - What is happening after this PR?

This PR adds two new components. FormComponent e FormModalComponent.

The first one display the form whenever the component is added on page, eg:

image

The second one, the modal, brings a button that open the form in a modal, and uses ajax for handling:

image

Is it a breaking change?

Theoretically no.

How can we test the before & after?

??

If the PR has changes in multiple repos please provide the command to checkout all branches, eg.:

git checkout "dev-branch-name" &&
cd vendor/backpack/crud && git checkout crud-branch-name &&
cd ../pro && git checkout pro-branch-name &&
cd ../../..

Base automatically changed from datatable-single-component to next June 9, 2025 13:47
@pxpm
Copy link
Contributor Author

pxpm commented Jun 10, 2025

superseeder by #5809

@pxpm pxpm closed this Jun 10, 2025
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

Successfully merging this pull request may close these issues.

2 participants