I can't seem to find a way to detect bottom sheet dismissal then trigger an "Update Page State" action. Would appreciate any advice on this, much thanks!
Regarding the context, I have a Page State that feeds into the param of a Bottom Sheet to initialize the Choice Chips within it. After updating the Choice Chips in the Bottom Sheet, the updated values should reflect on the original page. However, if users want to update the Choice Chips again, the reopened Bottom Sheet should have the most recently updated value within it.
What I am currently doing:
1) Have a Page State that stores the choice chip values
2) Pass the Page State as param into Bottom Sheet
3) Pass the updated values in bottom sheet back to parent page through Action Output
4) (STUCK ON THIS) How do I update the Page State to reflect to Action Output values (since I can't detect bottom sheet dismissal)?
Thanks for any help / advice given!
How do I update page state with bottom sheet's output value?
Resolved
6
8 replies