Laravel-Backpack / community-forum

A workspace to discuss improvement and feature ideas, before they're actually implemented.
28 stars 0 forks source link

Editing, creating and showing enteties in pop-up #729

Closed backpack-operations closed 11 months ago

backpack-operations commented 11 months ago

Hello team, I just received this on email: "Hello! could you help and tell how we can edit and create entities not on a separate page but in pop-up. Is it possible?"

phpfour commented 11 months ago

Hey @backpack-operations,

Thanks for bringing it up here. Please point the customer to this section of the documentation:

https://backpackforlaravel.com/docs/6.x/crud-operation-inline-create

It should suffice their need.

Thanks!

tabacitu commented 11 months ago

I wouldn't say that. From what I understand, the dev wants to open the Create and Edit forms in a modal, instead of a separate page. It's not related to "inline create" directly.

So what I would answer is that NO, there is no built-in way in Backpack to do that. You cannot toggle a switch and have the Create & Update operations in modals. You can code those bits yourself... but I wouldn't recommend it. You would have too much customization, and that would prevent you from receiving upgrades in the future.

Hope it helps!