Skip to content

Fix id props in Listbox and Combobox #2417

Closed

Description

@david-crespo

Empty string IDs... that can't be right.

<FieldLabel id={``} as="div" tip={tooltipText} optional={!required}>
<Label>{label}</Label>
</FieldLabel>
{description && <TextInputHint id={``}>{description}</TextInputHint>}

// TODO: FieldLabel needs a real ID
<div className="mb-2">
<FieldLabel id="FieldLabel" as="div" tip={tooltipText} optional={!required}>
<Label>{label}</Label>
</FieldLabel>
{description && <TextInputHint id="TextInputHint">{description}</TextInputHint>}
</div>

Activity

  1. added this to the 11 milestone on Sep 5, 2024
  2. changed the title [-]Fix `id` props in `Listbox`[/-] [+]Fix `id` props in `Listbox` and `Combobox`[/+] on Sep 5, 2024
  3. self-assigned this
    on Sep 9, 2024
  4. modified the milestones: 11, 12 on Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions