final-form-material-ui
final-form-material-ui copied to clipboard
helperText is just for errors
In TextField, there is this code: helperText={showError ? meta.error || meta.submitError : undefined} that basically ignores any initial value of helperText.
Is there any reason not to have the code like: helperText={showError ? meta.error || meta.submitError : rest.helperText} ...or something to that effect?
I apologize if I violated your guidelines for requesting a feature.
IMO, we need to split this two things appart.
The component used is MuiFormHelperText
and display error messages, then, the variant
prop should be error
right ?
But if we use the helper text as a real helper, the variant error
should not be used...