Skip to content

Widget editing cancel button text is changeable #5557

Open
@shanktank

Description

@shanktank

If you focus the cancel button when editing a widget without clicking it, e.g. by clicking the display name field and pressing tab twice, the text can be changed and its value will be saved and used for all widgets' cancel buttons if save or even the cancel button itself is clicked.

The button's input type is set to "cancel", which is not a valid type. Changing it to button fixes the issue. This also causes some of its CSS to inherit other values which overrides its intended look, but can be fixed with !important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions