Skip to content

fix(webkit): render field-textarea's helper text through HelperText - #1043

Open
gabriel-lisboa-azion wants to merge 1 commit into
mainfrom
fix/field-textarea-helper-text
Open

gabriel-lisboa-azion wants to merge 1 commit into
mainfrom
fix/field-textarea-helper-text

Conversation

@gabriel-lisboa-azion

Copy link
Copy Markdown
Contributor

Summary

  • FieldTextarea renders its helper through HelperText instead of a hand-rolled <small>, the same contract FieldText already uses: the field resolves only the helper's kind (disabled → invalid → required → helper), and HelperText owns the type, colour and lock glyph.
  • The spec's helper token rows go away, since HelperText owns them.

How to test

  1. npx vitest run src/components/inputs/field-textarea from packages/webkit → all pass, including the new helper kind cases.
  2. Storybook → Components/Inputs/FieldTextarea → Disabled / Invalid / Required → the helper line matches FieldText's in each state.

Notes

  • Helper test ids follow FieldText's: …__helper stays, and …__helper-text / …__helper-icon become …__helper__text / …__helper__icon. Consumer tests that target the old ids need the new ones.

@gabriel-lisboa-azion
gabriel-lisboa-azion requested a review from a team as a code owner October 1, 2026 12:10
@gabriel-lisboa-azion gabriel-lisboa-azion self-assigned this Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant