Skip to content

Clear user feedback form on cancel #12812

Open
@rabbiveesh

Description

@rabbiveesh

Problem Statement

I would like to be able to set up the user feedback form to clear when the user hits cancel, but not if they click out. Currently, it maintains state in both cases, and the onFormClose hook fires both on clickout and on cancel, making it impossible to differentiate between the two events.

It's not really an option to roll my own form b/c it's a waste of effort + i'd have to implement my own screenshot behavior.

Solution Brainstorm

This behavior could either be built in with an option, or at least implemented by adding another hook onFormCancel, and exposing some way to clear the form's internal state.

Product Area

User Feedback

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions