Skip to content

Website: Convert Form > TextInput demos to the new format#3684

Open
shleewhite wants to merge 2 commits intomainfrom
hds-5860/text-input-demos
Open

Website: Convert Form > TextInput demos to the new format#3684
shleewhite wants to merge 2 commits intomainfrom
hds-5860/text-input-demos

Conversation

@shleewhite
Copy link
Contributor

@shleewhite shleewhite commented Mar 6, 2026

📌 Summary

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

Current
Proposed

🔗 External links

Jira ticket: HDS-5860


💬 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:35pm
hds-website Ready Ready Preview Mar 12, 2026 2:35pm

Request Review

@hashibot-hds hashibot-hds added the docs-website Updates to the documentation website label Mar 6, 2026
@shleewhite shleewhite marked this pull request as ready for review March 6, 2026 22:05
@shleewhite shleewhite requested review from a team as code owners March 6, 2026 22:05
<F.CharacterCount @maxLength={{30}}/>
</Hds::Form::TextInput::Field>
```
[[code-snippets/text-input-character-count-max]]
Copy link
Contributor

@KristinLBradley KristinLBradley Mar 11, 2026

Choose a reason for hiding this comment

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

For the updated code snippet, it no longer has the pre-filled cluster name text in the input. Does this matter? (In the following similar examples too)

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.

Ahh good callout, I missed a few of these. pushing up a change to fix.

{{/if}}
</Hds::Form::TextInput::Field>
```
[[code-snippets/text-input-character-count-validation]]
Copy link
Contributor

Choose a reason for hiding this comment

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

Since the updated example no longer contains pre-filled text in the input, it doesn't display an error message regarding the length any more. Is this ok?

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.

yeah, its right that the error should be visible. fixed.

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.

Just added a few questions/comments regarding pre-filled text included in the original examples missing in the updated snippets.

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