studiobakers / react-ui-toolkit

Bakers Studio's React-based UI Toolkit
MIT License
15 stars 2 forks source link

Make `FormField` messages more flexible #147

Open jamcry opened 3 years ago

jamcry commented 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:

  helperMessages?: string[];
  errorMessages?: string[];

Example helper message design:

Screen Shot 2021-08-16 at 10 00 02 AM
mucahit commented 3 years ago