Problem/Motivation

If you use (vertical) tabs, clicking the dialog button opens the first tab with validation errors. I don't think we want to validate the form when opening the dialog.

Steps to reproduce

Configure a content type with (vertical) tabs and add mandatory fields in them. Make sure there are no validation errors in the first tab or you can't see the issue.
After clicking the dialog button you'll see that the next tab is active when closing the dialog.

Comments

falc0 created an issue. See original summary.

falc0’s picture

falc0’s picture

Status: Active » Needs review
StatusFileSize
new734 bytes

Patch for latest version.

falc0’s picture

Added the formnovalidate on each button.

  • 11b2309 committed on 2.0.x
    Issue #3289838 by falc0: tab opens unsolicited when clicking the dialog...
stborchert’s picture

Version: 8.x-1.8 » 2.0.x-dev
Status: Needs review » Fixed

Thanks for your patch. I've updated the current code with your changes.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.