Hi team,
I have created a static form using crayon but am unable to reset the form after form submission.
Can someone help?
Attaching few SC:
Sample form
From the code shared, we see that the form input controls are passed as slotted elements for fw-form-control. For slotted elements, handling the events like setting field values, resetting field values needs to be done by the consumer since crayons can’t identify the type of field passed inside slot.
Please refer to the below fiddle for your usecase: