shoomowS
Windmill3y ago
15 replies
shoomow

Using invisible `drawer`

Hey all.
I'm trying to refactor an app to not have
drawer
inside
list
component, and to set up a single invisible drawer outside of the list component, and use a lightweight button to open and close it.
Now, opening the drawer with button is simple enough - but how, inside the
drawer
, do I reference data of the particular list item which button I clicked?

Say, the list has id=
a
, it contains text component (
b
) and button (
c
), and drawer has id=
d
. Drawer contains a text component
e
that is supposed to show value of
a.result.selectedRow.b.result
or something like that, but I can't figure it out. Please help.
Was this page helpful?