Open jamcry opened 3 years ago
Currently, FormField takes helper and error messages only as strings. We should find a way to make these more flexible because for example in some of the new projects, we need to show icon with error/helper messages:
FormField
helperMessages?: string[]; errorMessages?: string[];
Example helper message design:
React.ReactNode
string
FormFieldLabel
Currently,
FormField
takes helper and error messages only as strings. We should find a way to make these more flexible because for example in some of the new projects, we need to show icon with error/helper messages:Example helper message design: