Closed caw310 closed 3 weeks ago
Hey team! Please add your planning poker estimate with Zenhub @Andrew565 @ataker @harshil1793 @it-harrison @jamigibbs @micahchiang @powellkerry @rmessina1010 @rsmithadhoc
This task is already completed. Here is the prod storybook.
Great. I will close this ticket since suffix is added.
I think there is a misunderstanding about what needs to be done still. This ticket was created from @danbrady's comment yeterday here:
After discussing with Matt, we should stay aligned with the USWDS for this component. So while they don't show examples for suffix icon, it is possible to achieve with their component. They also have the following documentation:
Use text or icons. Input prefixes and suffixes can accept either plain text or icons.
So VADS should have the same features.
Right now, the component does not accept both plain text or icons for both prefix and suffix so we need to add that functionality still for suffix I believe.
Can you verify that @harshil1793?
@caw310 I saw Dan's comment, and it seems like we need this ticket to add support for an icon suffix for the va-text-input
. Can I update the description if you're okay with that?
@harshil1793 Yes update the ticket as needed. Thanks!
Description
Add the ability to have an icon as a suffix in the
va-text-input
web component. USWDS guidance for input includes prefix and suffix so we should match that. https://designsystem.digital.gov/components/input-prefix-suffix/Tasks
Acceptance Criteria