Skip to content

PickerInput getRowOptions isDisabled does not affects appearance  #573

@oleksapro

Description

@oleksapro

Description

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Pass in PickerInput getRowOptions={() => ({ isDisabled: true })}
  2. Open PickerInput's DropDown
  3. Check rows

Actual result

Rows looks like enabled, and we can select them.

https://codesandbox.io/s/uui-pickerinput-isdisabled-row-nsor5o?file=/Example.tsx

Expected result

Rows looks like disabled (gray) and we can't select them.

Environment

loveship

  • UUI version: 4.6.3
  • Browser name: Chrome
  • Operating System: Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Ready to release

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions