Skip to content

Add confirmation to "Clear" #69

Description

@sugawarasmole

Is your feature request related to a problem? Please describe.
"Clear" is too easy to click/tab, resulting in clearing all text input. With no option to save as a draft or undo a clear, if someone is writing directly in the text box (as opposed to copy/pasting for instance), it could potentially result in someone losing a lot of writing by mistake.

Describe the solution you'd like
Add a fail-safe for accidental clear clicks and descriptive alt text (would be nice for all buttons, but keeping it to just this for the sake of one suggestion)

Describe alternatives you've considered
Add a confirmation option when you click the clear button. e.g. "Clear all text? Y/N"
Add hover alt text over the button indicating that it will clear all text
And/or add an "undo clear" option

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions