TACC / tup-ui

React client for TACC User Portal
2 stars 0 forks source link

feat: example of custom formik error message comp #403

Closed wesleyboar closed 6 months ago

wesleyboar commented 6 months ago

Overview

How to allow and use a custom error message component for our Formik field wrappers.

![IMPORTANT] This solution failed.

Related

Changes

Testing

  1. Run tup-cms and tup-ui with this branch.
  2. Open a ticket reply form modal.
  3. Notice the "Required" text is not underneath the Reply text area field.
  4. Change const shouldShowError to equal true;
  5. Notice the "Required" text is underneath the Reply text area field.

UI

Fail.

wesleyboar commented 6 months ago

Solution failed.