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

[Feature] Add operations into created crud controllers #60

Open
fabianotrentin opened this issue Jan 27, 2023 · 2 comments
Open

[Feature] Add operations into created crud controllers #60

fabianotrentin opened this issue Jan 27, 2023 · 2 comments

Comments

@fabianotrentin
Copy link

Do your backpack pro working natively with Devtools?
I am trying to implement InlineCreate Operation (Pro) but it doesn't work.

Create model "contact" with relation 1-n to model "company". I have ContactCrudController where the user can select Company. However, I don't see the inline creatin in action. Is there a documentation to use backpack pro for those with devtools? Thanks.

@pxpm
Copy link

pxpm commented Jan 31, 2023

Hello @fabianotrentin , the InlineCreate is not on DevTools, sorry.

Since it require you to modify multiple files etc, it may be worth to add it to devtools.

In fact, a new section to add operations to your controllers (not only Inline, but also Trash for example or BulkDelete) could be something to think about.

I will move this into devtools-issues repo as a suggestion.

In the meanwhile I recommend that you follow the docs in https://backpackforlaravel.com/docs/5.x/crud-operation-inline-create to setup the InlineCreate operation after you created your cruds!

Cheers

@pxpm pxpm transferred this issue from Laravel-Backpack/community-forum Jan 31, 2023
@pxpm pxpm changed the title Inline creation with devtools [Feature] Add operations into created crud controllers Jan 31, 2023
@pxpm pxpm removed this from This week Jan 31, 2023
@fabianotrentin
Copy link
Author

Hi @pxpm

I have update my as instructed, however the add more button is not showing up.

Could you please check the screen shots?

main entity = contacto
secondary entity = empresa (modal)

image

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants