-
I’ve customized Payload to fully override the list views, which works perfectly for displaying a list of items the way I want. However, there’s an edge case: when Payload renders a list in a drawer, such as for the "Choose from existing" option in upload fields. In this scenario, my custom list component appears in the drawer, but there is no way to handle the onSelect event properly. I’ve looked through the available hooks but haven’t found a solution. Does anyone know of a workaround? |
Beta Was this translation helpful? Give feedback.
Answered by
inetstd
Jan 6, 2025
Replies: 1 comment
-
found answer - undocumented useListDrawerContext() |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
inetstd
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
found answer - undocumented useListDrawerContext()