-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[Bug]: DismissibleTag title prop is confusing and not really what being expected #16959
Comments
Hey @flannanl But if you want to pass the The other difference between the old filter tag is that you cannot pass a We are planning to move this to stable soon, as for now still experimental. So thanks for your feedback. |
@guidari I probably can live with the text not being a
This is an example how we are using |
I guess what you mean then is that the second tag in this StackBlitz example should also show the Can you share a Stackblitz of your use case? Because from what I understood you can do it what you have in the screen shot with |
@guidari Your |
Package
@carbon/react
Browser
No response
Package version
1.61.0
React version
No response
Description
The
title
prop inDismissibleTag
is currently being mapped to thetitle
prop of the "Clear" button. However, I would expect it to be mapped to the title of the text showing in the tag.As part of the effort of Carbon 11 migration, we are trying to move the
Tag
component with thefilter
andonClose
properties toDismissibleTag
. We need to show a different title text than the display text we showed in the tag. But because thetitle
prop inDismissibleTag
is currently mapped to thetitle
prop for the button, we cannot migrate to useDismissibleTag
.Here is how we use
Tag
today.Reproduction/example
See description
Steps to reproduce
See description
Suggested Severity
Severity 2 = User cannot complete task, and/or no workaround within the user experience of a given component.
Application/PAL
IBM Cloud Projects
Code of Conduct
The text was updated successfully, but these errors were encountered: