Replies: 2 comments 4 replies
-
did you ever get this working? I have the drawers working but i need to pass data into the drawers and haven't figure that out yet. |
Beta Was this translation helpful? Give feedback.
4 replies
-
Do u have any code u can share? How did you populate the context? Did u
have to create a whole custom page? At what level did u wrap the context?
…--
Aaron K. Saunders
CEO Clearly Innovative Inc
***@***.***
www.clearlyinnovative.com
This email message and any attachment(s) are for the sole use of the
intended recipient(s) and may contain proprietary and/or confidential
information which may be privileged or otherwise protected from disclosure.
Any unauthorized review, use, disclosure or distribution is prohibited. If
you are not the intended recipient(s), please contact the sender by reply
email and destroy the original message and any copies of the message as
well as any attachment(s) to the original message.
On Tue, Jan 30, 2024 at 7:48 PM Yarek Waszul ***@***.***> wrote:
Not sure if this has been solved, but I had this problem as well. I ended
up wrapping the documentDrawer inside a context provider. Inside the
drawer, custom field components grab the data with useContext and populate
themselves. This is cool, now I can create pre-populated child documents
from within a parent document.
—
Reply to this email directly, view it on GitHub
<#2527 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEAFGKBECKPXZXNBM47JMDYRGIFPAVCNFSM6AAAAAAXEPT24SVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DGMJTGEZDO>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
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
-
Hey! I've created a custom component that shows a list of items from another collection. I want to use the document drawer to allow the user to read/edit the items in the list. How would I go about including the drawer within the custom component? I could include a link to leave the document and open the item, but using the drawer and keeping the same context would be sweet.
Beta Was this translation helpful? Give feedback.
All reactions