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

[Dropdown in Datagrid]: Dropdown component in Flyout - Label and SelectedItem properties not functioning correctly #6047

Open
2 tasks done
cpan-NS1 opened this issue Sep 12, 2024 · 0 comments

Comments

@cpan-NS1
Copy link

Package

Carbon for IBM Products

Description

I encountered an issue with the Dropdown component when used within a Flyout. Specifically, the following properties are not working as expected:

  • Label property: The label attribute does not update correctly, and the dropdown's label always defaults to "Any" regardless of what is set.

  • SelectedItem property: The selectedItem attribute does not function properly, meaning it is not possible to dynamically change the selected item through the property.

As a result, users are unable to set custom labels for the dropdown or programmatically control the selected item when the Dropdown is rendered inside a Flyout.

Component(s) impacted

Dropdown component in flyout of datagrid.

Browser

No response

@carbon/ibm-products (previously @carbon/ibm-cloud-cognitive) version

2.48.0

Suggested Severity

None

Product/offering

PORTAL - NS1

CodeSandbox or Stackblitz example

https://stackblitz.com/edit/github-ug2zm7?file=src%2FExample%2FExample.jsx

Steps to reproduce the issue (if applicable)

No response

Release date (if applicable)

No response

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs triage 🧐
Development

No branches or pull requests

2 participants