You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be possible to raise an error from within a custom component.
Currently it seems that only schema validation errors are taken into account, but there are other potential errors:
a value is deemed invalid by the component, not the schema. Example:
a code editor that determines the (schemaless) content has a valid shape.
Expected behavior
An extra function passed in, like raiseErrors, that accepts an array of error strings.
The text was updated successfully, but these errors were encountered:
Prerequisites
Description
It should be possible to raise an error from within a custom component.
Currently it seems that only schema validation errors are taken into account, but there are other potential errors:
Expected behavior
An extra function passed in, like
raiseErrors
, that accepts an array of error strings.The text was updated successfully, but these errors were encountered: