Description
Include a high-level description of the issue.
- What did you expect to happen?
- When I use a CMSDS form field and inject an error, the message should display, but the field should remain exactly where it was originally rendered.
- What happened instead?
- The form field moves to make room for the error message.
- What would you like to see changed?
- The pattern revised so that inline error messages don't cause form fields to move
Include any benefits, challenges, or considerations. This can be short and sweet.
Steps to reproduce the issue
Storybook pages that could demo this are broken
- Create a simple test page with the CMSDS
- Add a text field with a label and a way to update its
errorMessage (prop, assuming React)
- Change
errorMessage from a blank string to anything you want
- The text field moves to make room for the error message (below the label and above the field)