How to reset Static Form?

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

I don’t use any reset button after form submission reset should automatically triggger

Even I tried from form submit event reset that also didn’t work for me

Hi @Deiviya_Sivacoumar ,

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:

Hope this helps!


@Shravan_K thanks found the exact solution to reset

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.