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
object
boolean
Trying to use this component for the MetaMask docs with OpenRPC and running into this bug with oneOf object or string.
string
Heres an example schema and a gif of the results in storybook.
Seems like it only works if the sub schemas of the oneOf are the same type.
oneOf
{ "title": "Syncing status", "oneOf": [ { "title": "Syncing progress", "type": "object", "properties": { "startingBlock": { "title": "Starting block", "type": "string" }, "currentBlock": { "title": "Current block", "type": "string" }, "highestBlock": { "title": "Highest block", "type": "string" } } }, { "title": "Not syncing", "description": "Should always return false if not syncing.", "type": "boolean" } ] }
Screen grab:
Expected Behaviour
When Not Syncing is clicked, it should show you type boolean
Not Syncing
type
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Trying to use this component for the MetaMask docs with OpenRPC and running into this bug with oneOf
object
orstring
.Heres an example schema and a gif of the results in storybook.
Seems like it only works if the sub schemas of the
oneOf
are the same type.Screen grab:
Expected Behaviour
When
Not Syncing
is clicked, it should show youtype
boolean
The text was updated successfully, but these errors were encountered: