-
Notifications
You must be signed in to change notification settings - Fork 0
IBX-10307: Form Control - Input Text #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a Form Control wrapper for Input Text components, implementing a reusable base form control structure with label and helper text functionality.
Key changes:
- New BaseFormControl component providing consistent form field layout with label and helper text support
- FormControlInputText component that wraps basic InputText with validation and form control features
- Enhanced validation system with automatic required field validation
Reviewed Changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 2 comments.
Show a summary per file
File | Description |
---|---|
packages/components/src/internal/partials/BaseFormControl/* | New base form control component providing consistent layout structure |
packages/components/src/internal/hooks/useValidatorManager.ts | Added default generic type parameter for better type safety |
packages/components/src/formControls/InputText/* | New form control wrapper for InputText with validation and structured layout |
packages/components/src/inputs/InputText/InputText.test.stories.tsx | Added value assertion to existing test |
packages/assets/src/scss/* | Added form control styles and reorganized imports |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
648268d
to
a67cd76
Compare
bb5f93c
to
4014b12
Compare
Related PRs:
Description:
For QA:
Documentation: