shared-components
shared-components copied to clipboard
Adding helpText to a field after initial creation causes layout issues
This is 'best I can tell', I'm not super well versed in CSS grid.
It appears that if you initialize some Field
inside a Fields
without helptext, it will not generate the row for helpText. This is 👍, for layout reasons. However, if you later add helpText (in for example, an error scenario) it creates a whole new column in which to place the helpText. See attached:
Current Bad Workaround: Pass some whitespace into helpText to ensure the row is properly generated, if you later might need that row.