Add the missing support of help texts to InputGroup (#663)#667
Merged
Conversation
mbohal
approved these changes
Oct 20, 2025
adamkudrna
force-pushed
the
feature/input-group-helper-text
branch
from
October 20, 2025 15:04
530fa09 to
6c23099
Compare
There was a problem hiding this comment.
Pull Request Overview
This PR adds support for help texts to the InputGroup component, allowing developers to provide additional guidance for grouped inputs. Previously, InputGroup only supported validation texts.
Key changes:
- Added
helpTextsprop toInputGroupfor displaying help messages - Modified
TextField,SelectField, andFileInputFieldto suppress their individual help texts when used within anInputGroup - Updated documentation and tests to reflect the new functionality
Reviewed Changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/components/InputGroup/InputGroup.jsx | Added helpTexts prop and rendering logic for help text list |
| src/components/InputGroup/InputGroup.module.scss | Added .helpText class selector to styling rules |
| src/components/TextField/TextField.jsx | Prevented help text rendering within InputGroup context and updated documentation |
| src/components/SelectField/SelectField.jsx | Prevented help text rendering within InputGroup context and updated documentation |
| src/components/FileInputField/FileInputField.jsx | Prevented help text and validation text rendering within InputGroup context and updated documentation |
| src/components/InputGroup/tests/InputGroup.spec.tsx | Added test coverage for help texts functionality |
| src/components/InputGroup/README.md | Added documentation section for help texts feature with examples |
| src/components/Button/README.md | Fixed spelling error in documentation |
Comments suppressed due to low confidence (2)
src/components/TextField/TextField.jsx:1
- The documentation incorrectly refers to 'help text' when it should say 'validation text'. This comment is describing the
validationTextprop behavior, not thehelpTextprop.
import PropTypes from 'prop-types';
src/components/SelectField/SelectField.jsx:1
- The documentation incorrectly refers to 'help text' when it should say 'validation text'. This comment is describing the
validationTextprop behavior, not thehelpTextprop.
import PropTypes from 'prop-types';
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
bedrich-schindler
requested changes
Oct 21, 2025
adamkudrna
force-pushed
the
feature/input-group-helper-text
branch
from
October 22, 2025 14:40
0d72efc to
1622cf1
Compare
bedrich-schindler
approved these changes
Oct 24, 2025
`InputGroup` now supports the `helpTexts` prop. For `FileInputField`, `Select`, and `TextField`, help text is not rendered within the `InputGroup` context. The `helpTexts` prop of `InputGroup` must be used instead.
adamkudrna
force-pushed
the
feature/input-group-helper-text
branch
from
November 7, 2025 14:47
1622cf1 to
b9f4da9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
InputGroupnow supports thehelpTextsprop.For
FileInputField,Select, andTextField, help text is not rendered within theInputGroupcontext. ThehelpTextsprop ofInputGroupmust be used instead.Closes #663.