Skip to content

Allow raising errors from within a custom whatever #2718

@Morriz

Description

@Morriz

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:

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions