Hi,
1) Is there a way to use the Drawer element within a div on the page? I am using react version and would love an option for this.
2) On react demo how can one reset the form fields when submitted successfully?
Thank you!
Hi,
1) No since the drawer component must be hidden from the beginning, and it also should be placed in a different level.
You can just create a separate component with your content and then use one component instance on the page and another inside the drawer.
2)The easiest way is just to add two variables, the first variable with initializing values and the second with the actual values, when you successfully submit your form just assign the initialize values variable into the actual values.