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

[core] feat(EditableText): new HTML prop "contentId" #4935

Merged
merged 2 commits into from
Sep 28, 2021

Conversation

styu
Copy link
Contributor

@styu styu commented Sep 28, 2021

Checklist

  • Includes tests
  • Update documentation

Changes proposed in this pull request:

I would like to associate the underlying text in EditableText to different content outside the EditableText via aria-labeledby. Doing so requires that the span that contains the text has an id attribute that can be passed in, so this PR plumbs such a prop through. Open to better naming suggestions though.

@blueprint-bot
Copy link

[core] Allow passing an ID attribute to underlying text content in EditableText

Previews: documentation | landing | table | modern colors demo

@styu styu marked this pull request as ready for review September 28, 2021 13:39
@styu styu requested a review from adidahiya September 28, 2021 13:39
@blueprint-bot
Copy link

rename to contentId

Previews: documentation | landing | table | modern colors demo

@adidahiya adidahiya changed the title [core] Allow passing an ID attribute to underlying text content in EditableText [core] feat(EditableText): new HTML prop "contentId" Sep 28, 2021
@adidahiya adidahiya merged commit 933c8b2 into develop Sep 28, 2021
@adidahiya adidahiya deleted the syu/editable-text-props branch September 28, 2021 14:45
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.

3 participants