Skip to content

[Bug]: Form reset after submit doesn't work #1977

@lanedsmu

Description

@lanedsmu

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

This may be related to #1917. When selecting "reset on successful submit", the form doesn't actually reset.
That switch doesn't appear to change the values in the form metadata view, either.

Additionally, calling form.clear(); and formInput.clear(); will each clear the appropriate values behind the scenes (as visible in the form metadata), but the UI doesn't update to reflect the cleared values.

This is verified on both cloud and on prem 2.7.3. Sample app json attached.

formResetDemo.json

Expected Behavior

Form reset switch will clear the form after successful submission. form.clear() likewise will accomplish this.

Steps to reproduce

see attached app json

Environment

cloud 2.7.3

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions