Skip to content

fix(DatePicker): prevented textless helper text from rendering #11713

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

thatblindgeye
Copy link
Contributor

What: Closes #11709

Additional issues:

@thatblindgeye thatblindgeye requested a review from tlabaj March 25, 2025 13:24
@patternfly-build
Copy link
Contributor

patternfly-build commented Mar 25, 2025


await user.click(screen.getByRole('textbox'));
await user.click(document.body);
expect(asFragment()).toMatchSnapshot();
Copy link
Contributor

Choose a reason for hiding this comment

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

Was there not a better assertion you could use here? Maybe something that queries for the helper text?

@thatblindgeye thatblindgeye force-pushed the iss11709_datepickerErrorRender branch from 9df3381 to 2f42043 Compare April 8, 2025 14:44
Copy link
Contributor

@wise-king-sullyman wise-king-sullyman left a comment

Choose a reason for hiding this comment

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

🥳

@wise-king-sullyman wise-king-sullyman merged commit 7be0f9c into patternfly:main Apr 8, 2025
13 checks passed
@patternfly-build
Copy link
Contributor

Your changes have been released in:

Thanks for your contribution! 🎉

dlabaj pushed a commit that referenced this pull request Apr 17, 2025
* fix(DatePicker): prevented textless helper text from rendering

* Updated validator assertion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug - [Datepicker] - Renders with error icon when multiple validators are passed
4 participants