Skip to content

[Issue] ui select list visible even though it is disabled #29098

Closed
@m2-assistant

Description

@m2-assistant

This issue is automatically created based on existing pull request: #27896: ui select list visible even though it is disabled


Preconditions:

Magento 2.4-develop

This PR fixes the following bug,
If we disable the UI select component by using this.disabled(true). still its options are visible when we click it. please see the below image for reference.

Steps to reproduce:

  1. Navigate to the product edit page;
  2. Disable any one of the UI select using the following code:
this.disabled(true);
  1. Now click on the UI select;

Actual Result: ✖️ after disabling the options are still visible

Peek 2020-09-08 12-29

Expected Result: ✔️ list options shouldn't be visible when it's disabled

Peek 2020-09-08 12-57

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds are green)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: UiFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P3May be fixed according to the position in the backlog.Progress: doneReported on 2.4.0Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions