Skip to content

Conversation

@mdodgelooker
Copy link
Contributor

✨ Changes

  • Add for attribute to labels in FieldInline and ButtonItem (core product CI can't find custom-styled inputs without it)
  • Convert id = uuid() to id = useID for consistent value over re-renders (see screenshot below)

✅ Requirements

  • Includes test coverage for all changes
  • Build and tests are passing
  • Update documentation
  • Updated CHANGELOG
  • Checked for i18n impacts
  • Checked for a11y impacts
  • PR is ideally < ~400LOC

📷 Screenshots

With id = uuid() the value was changing every render:

id-change

@mdodgelooker mdodgelooker changed the title Add for attribute for core product CI Label for attribute May 5, 2020
@mdodgelooker mdodgelooker requested a review from a user May 5, 2020 20:27
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

LGTM

@mdodgelooker mdodgelooker merged commit 1bb4472 into master May 6, 2020
@mdodgelooker mdodgelooker deleted the mdodge/label-for branch May 6, 2020 21:04
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.

1 participant