SOLVED: "clear form" interaction not work in some case

Browser: Chrome 137.0.7151.41
OS: Windows

Hi bricks team,

If we set the trigger to form error and select the clean form action, it will not work.

Hi @HOSEIN,

thank you for getting in touch about this. I tested locally, but in my case, the form was cleared after an unsuccessful login. Or did you trigger the “Form Error” some other way?

Please double-check that the “Form ID” is correct, and that the browser is not auto-completing the form. Maybe you can try in incognito or in some other browser, just to make sure?

Please let me know.

Thanks,
Matej

1 Like

Hi Matej,

Thank you for reviewing this report.

I tried everything but it still doesn’t work. But if I add a button and add clear form action to it, then after clicking on the button it clears the form as expected.

But it’s strange that it works well for you🤔

Please view and test this link.

Hi @HOSEIN,

yep, you are right. My bad. I was testing on a branch that already included this fix :upside_down_face:

I’ve linked this topic to the task, that we already have, and we will notify you once we update it.

Thank you and sorry for confusion!
Matej

1 Like

We’ve fixed this issue in Bricks 2.0 RC2, now available as a manual download in your account (see changelog).

Please let us know if you are still experiencing issues.

As with any pre-stable release, please do not use it on a production website. It is intended for testing in a local or staging environment only.

1 Like