Skip to content

[5.x]: Bulk edits are too easy to accidentally discard  #15139

@MoritzLost

Description

@MoritzLost

What happened?

Description

When bulk editing, the Save and Cancel buttons are right next to each other with very little space between them:

bulk-edit-action-buttons

Clicking on Cancel immediately discards all pending edits and closes the bulk editing interface, with no way to undo this action. An accidental misclick a few pixels too far to the right might discard a bunch of edits that the author put some time into.

Steps to reproduce

  1. In an element index, click on Edit.
  2. Edit some fields.
  3. Click on Cancel.

Expected behavior

  • The buttons should be spaced farther apart to prevent accidental misclicks.
  • The Cancel button should prompt for confirmation before discarding your edits.

Actual behavior

Clicking on Cancel accidentally is very easy, and there is no confirmation prompt.

Craft CMS version

5.1.8

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions