pixiebrix-extension icon indicating copy to clipboard operation
pixiebrix-extension copied to clipboard

Fields showing input validation errors prior to being "touched"

Open twschiller opened this issue 3 years ago • 0 comments

Context

  • Our FieldTemplate doesn't check for isTouched for rendering annotation-style alerts

Steps to Reproduce

  • Add an integration in the Extension Console, you'll immediately see validation errors

Screenshot

image

Related Issues

  • https://github.com/pixiebrix/pixiebrix-app/issues/2200

Discussion

  • Do we need a different behavior for Yup vs. analysis engine errors?

Related Code

  • https://github.com/pixiebrix/pixiebrix-extension/blob/0bbbb898d3a354d3117565d1c2759e29586a3942/src/components/form/FieldTemplate.tsx#L185-L185

twschiller avatar Aug 28 '22 20:08 twschiller