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.
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.