Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow raising errors from within a custom whatever #2718

Open
1 task done
Morriz opened this issue Feb 18, 2022 · 3 comments
Open
1 task done

Allow raising errors from within a custom whatever #2718

Morriz opened this issue Feb 18, 2022 · 3 comments

Comments

@Morriz
Copy link

Morriz commented Feb 18, 2022

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.

@cdolek
Copy link

cdolek commented Dec 9, 2022

Any progress on this? Such a valuable feature to add since it will help with creating many customizations.

@ericalli
Copy link

+1, I'd also find this feature super valuable.

@mc-smarthelio
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants