Describe the bug
In the documentation "Need Help?" section, submitting an empty feedback form correctly produces an error message preventing submission. However, if the user decides to close the form by toggling the Yes/No radio button instead of fixing the text, the error message remains permanently visible on the page under the radio buttons.
Steps To Reproduce
- Visit a documentation page demonstrating the
DocsHelp feedback component at the bottom.
- Click the "Thumbs Up" (Yes) icon to open the feedback form.
- Leave the text area completely blank and click "Submit Feedback".
- The error text "Feedback comment cannot be empty." appears.
- Click the exact same "Thumbs Up" (Yes) icon again. The form itself collapses and disappears.
- Notice the red error message remains floating there with no form attached.
Expected Behavior
Closing or toggling the visibility of the form should immediately clear any associated validation error states.
Screenshots
Device Information [optional]
- OS: macOS
- Browser: Chrome
- version: 0.1.0
Are you working on this issue?
Yes
Do you think this work might require an [Architectural Decision Record (ADR)]? (significant or noteworthy)
No
Describe the bug
In the documentation "Need Help?" section, submitting an empty feedback form correctly produces an error message preventing submission. However, if the user decides to close the form by toggling the Yes/No radio button instead of fixing the text, the error message remains permanently visible on the page under the radio buttons.
Steps To Reproduce
DocsHelpfeedback component at the bottom.Expected Behavior
Closing or toggling the visibility of the form should immediately clear any associated validation error states.
Screenshots
Device Information [optional]
Are you working on this issue?
Yes
Do you think this work might require an [Architectural Decision Record (ADR)]? (significant or noteworthy)
No