We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
core
5.x
We can define an enum with oneOf:
oneOf
{ "oneOf": [ { "const": "empty", "title": "" }, { "const": "active" } ] }
But if the title is an empty string, the const value is used.
const
The empty string option is used instead of falling back to the const value.
Playground link
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Prerequisites
What theme are you using?
core
Version
5.x
Current Behavior
We can define an enum with
oneOf
:But if the title is an empty string, the
const
value is used.Expected Behavior
The empty string option is used instead of falling back to the const value.
Steps To Reproduce
Playground link
Environment
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: