department-of-veterans-affairs / vets-design-system-documentation

Repository for design.va.gov website
https://design.va.gov
37 stars 56 forks source link

va-textarea does not support label-header-level property #2974

Closed rhasselle-oddball closed 4 weeks ago

rhasselle-oddball commented 1 month ago

Bug Report

What happened

we want to create this scenario: image

however va-textarea does not support label-header-level in order to do this, like va-radio and va-checkbox-group does. I tried using use-forms-pattern as a workaround, but our required field would be below the header instead of on the header, which didn't seem like the right solution for this. We want the required on the field title, which works with label-header-level

What I expected to happen

va-textarea should support label-header-level

Reproducing

Steps to reproduce:

  1. Go to textarea storybook, and notice there is no supported property for this
  2. You can see examples however for radio and checkbox group

Urgency

How urgent is this request? Please select the appropriate option below and/or provide details

Details

caw310 commented 1 month ago

Hey team! Please add your planning poker estimate with Zenhub @Andrew565 @ataker @harshil1793 @it-harrison @jamigibbs @micahchiang @nickjg231 @powellkerry @rmessina1010 @rsmithadhoc