Modal/Dialog type behaviors are reversed in JavaScript

Created on 19 November 2024, about 1 month ago

Problem/Motivation

In JavaScript the breakpoints of the types are reversed as anything under the breakpoint becomes a modal and anything over is a dialog. As a result the text in the render element and in forms in incorrect; the behavior is reversed.

Steps to reproduce

  1. Install multiselect_dropdown_bef_test.
  2. Update the view at /admin/structure/views/view/multiselect_dropdown_bef_test/edit/test so that the content type exposed multiselect dropdown uses the "Dialog" option.
  3. Load /multiselect-dropdown/view.
  4. Click the content type filter. See it behaves as a modal, not a dialog.

Proposed resolution

Make the type behaviors consistent with the documentation and field descriptions.

API changes

An update hook will switch existing views configuration. Any multiselect dropdowns generated in code will need to be updated.

πŸ› Bug report
Status

Active

Version

1.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States benabaird

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024