Inputs should not display helper text if helperText
is set to false
without validation errors
#8829
Labels
helperText
is set to false
without validation errors
#8829
What you were expecting:
Setting
helperText={false}
should hide helperText element in input components.What happened instead:
An empty paragraph is generated introducing a small vertical offset - 3px by default 😱.
Most of the input components share the same behaviour, but usually RA uses false to prevent a ReactNode parameter to be displayed. Am I wrong on this point?
Steps to reproduce:
Related code:
https://stackblitz.com/edit/github-hnmzx9?file=src%2Fposts%2FPostEdit.tsx
For example
<BooleanInput>
generates the following HTMLThe text was updated successfully, but these errors were encountered: