Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Widget editing cancel button text is changeable #5557

Open
shanktank opened this issue Jan 22, 2025 · 0 comments · May be fixed by #5558
Open

Widget editing cancel button text is changeable #5557

shanktank opened this issue Jan 22, 2025 · 0 comments · May be fixed by #5558

Comments

@shanktank
Copy link

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.

@shanktank shanktank linked a pull request Jan 22, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant