Auto-generate link field in InlineCRUD when LiveResource is provided #1818
dorianamouroux
started this conversation in
Ideas
Replies: 1 comment
-
|
Hey, thanks for your suggestion! I've addressed this in #1856 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! 👋
I've been using Backpex and loving it so far. I have a small feature suggestion that would make working with
InlineCRUDa bit smoother.Problem
Currently, linking to a resource from
Backpex.Fields.InlineCRUDrequires manually creating a custom link field with routing logic:Proposed Solution
Add a
live_resourceoption toInlineCRUD(similar toBelongsTo). When provided, automatically generate a link field:So in a resource A (let's say Author) we can have an InlineCRUD to easily add another resource (e.g. books). But we also want a resource definition for the Book to add extra details we don't want in the InlineCrud field.
If this sounds like a good addition, I'd be happy to take on implementing this feature! Let me know what you think. 🙂
Beta Was this translation helpful? Give feedback.
All reactions