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

Searchable select described by vs labelled by #584

Merged
merged 1 commit into from
Oct 1, 2024
Merged

Conversation

zaporter-work
Copy link
Member

@zaporter-work zaporter-work commented Sep 30, 2024

๐Ÿ˜ฎโ€๐Ÿ’จ Oops.

Actually tested by bringing this into app this time.

Comment on lines -76 to +77
/** ID of the element that labels the SearchableSelect. */
export let labelledBy: string | undefined = undefined;
/** ID of the element that describes the SearchableSelect. */
export let describedBy: string | undefined = undefined;
Copy link
Member

@mcous mcous Sep 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep both! JK, I just remembered <label for={inputID}>

@zaporter-work zaporter-work merged commit 6b1c55d into main Oct 1, 2024
4 checks passed
@zaporter-work zaporter-work deleted the zp/fix-typo branch October 1, 2024 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants