Skip to content

Website: Convert Form > TextArea demos to new format#3683

Open
shleewhite wants to merge 3 commits intomainfrom
hds-5861/textarea-demos
Open

Website: Convert Form > TextArea demos to new format#3683
shleewhite wants to merge 3 commits intomainfrom
hds-5861/textarea-demos

Conversation

@shleewhite
Copy link
Contributor

@shleewhite shleewhite commented Mar 6, 2026

📌 Summary

If merged, this PR would convert the Form > Textarea demos to the new format.

Current
Proposed

🔗 External links

Jira ticket: HDS-5861


💬 Please consider using conventional comments when reviewing this PR.

📋 PCI review checklist
  • If applicable, I've documented a plan to revert these changes if they require more than reverting the pull request.
  • If applicable, I've worked with GRC to document the impact of any changes to security controls.
    Examples of changes to controls include access controls, encryption, logging, etc.
  • If applicable, I've worked with GRC to ensure compliance due to a significant change to the in-scope PCI environment.
    Examples include changes to operating systems, ports, protocols, services, cryptography-related components, PII processing code, etc.

@vercel
Copy link

vercel bot commented Mar 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hds-showcase Ready Ready Preview Mar 12, 2026 2:21pm
hds-website Ready Ready Preview Mar 12, 2026 2:21pm

Request Review

<F.CharacterCount @minLength={{100}} @minLength={{200}}/>
</Hds::Form::Textarea::Field>
```
[[code-snippets/textarea-complex-character-count]]
Copy link
Contributor

Choose a reason for hiding this comment

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

There's a difference in the number of required characters in the updated snippet. Is this as expected?

Image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh interesting... not sure whats going on there. but the example has a minimum of 100 characters, so 78 is the correct number more that need to be added.

Going to leave it as is.

<F.Error as |E|>
<E.Message>Length should be at least 12 characters</E.Message>
<E.Message>Can not contain HTML</E.Message>
<E.Message>B</E.Message>
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: This "B", which is in the new snippets too, looks weird/confusing to me in the rendered example. Would we maybe want to update or remove it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

totally! I removed it.

Copy link
Contributor

@KristinLBradley KristinLBradley left a comment

Choose a reason for hiding this comment

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

Looks good. Just added a couple minor questions/comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-website Updates to the documentation website

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants