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

Components: FormTokenField label renders even when no defined #61395

Closed
retrofox opened this issue May 6, 2024 · 0 comments · Fixed by #61336
Closed

Components: FormTokenField label renders even when no defined #61395

retrofox opened this issue May 6, 2024 · 0 comments · Fixed by #61336
Assignees
Labels
[Package] Components /packages/components

Comments

@retrofox
Copy link
Contributor

retrofox commented May 6, 2024

The <FormTokenField /> component renders HTML elements for the label part, even when the label is not defined.

  • Test using the story
  • Define an empty label
  • Confirm, visually, there is a space in the rendered component
Screenshot 2024-05-06 at 09 05 30
  • Confirm, inspecting the elements by using the browser dev tool, there are a few elements.
Screenshot 2024-05-06 at 09 06 25
@retrofox retrofox added the [Package] Components /packages/components label May 6, 2024
@retrofox retrofox self-assigned this May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Components /packages/components
1 participant