opensearch-project / ux

Public repository for OpenSearch UX. Tracks issues, epics and workstreams related to improving the user experience, usability and accessibility of OpenSearch core, dashboards and related plugins.
Apache License 2.0
4 stars 5 forks source link

Implement error handling on all input boxes #28

Closed KrooshalUX closed 1 year ago

KrooshalUX commented 1 year ago

NOTE: FIELD SPECIFIC IN-LINE ERROR COPY TO BE PROVIDED FOR 2.5 RELEASE

onBlur errors: image

onSubmit errors (extremely unlikely because we prevent user from submitting the form if errors are active): image

onSubmit API / Save error not related to form input values: image

KrooshalUX commented 1 year ago

Updated to remove onBlur as Reacts onChange works more similarly to onInput @mpabba3003 thank you for calling this out

mpabba3003 commented 1 year ago

call out will never show up as we do not allow user to submit (button disabled) until the form is valid.