Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Disabled prop for ListItem #33891

Open
1 task done
neorxna opened this issue Feb 24, 2025 · 0 comments
Open
1 task done

[Feature]: Disabled prop for ListItem #33891

neorxna opened this issue Feb 24, 2025 · 0 comments

Comments

@neorxna
Copy link

neorxna commented Feb 24, 2025

Area

React Components (@fluentui/react-components)

Describe the feature that you would like added

It is currently haphazard and difficult to disable a ListItem of a List to prevent the user from selecting the item and visually indicating its status.

https://react.fluentui.dev/?path=/docs/components-list--docs

Currently I am setting tabIndex={-1} and checkmark={{ disabled: true}} for a multiselect type List, along with some custom CSS.

It would be nice to be able to set disabled={true} on the ListItem instead like other v9 components.

Additional context

No response

Have you discussed this feature with our team

No response

Validations

  • Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.

Priority

Medium

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant