mapStateToAnyOfProps
-> mapStateToCombinatorRendererProps
StructuralKeywords should include const
#1787
Labels
Milestone
Describe the bug
Currently the mapStateToCombinatorRendererProps function does not consider a validation error relating to a
const
constraint as invalid and therefore the incorrectindexOfFittingSchema
can be returned.Expected behavior
A
const
validation failure should be invalid and thereforeindexOfFittingSchema
should move onto the next schema for validation.StructuralKeywords should include
const
Steps to reproduce the issue
Use a schema containing an
anyOf
array withconst
constraints and theindexOfFittingSchema
will always return 0Screenshots
No response
In which browser are you experiencing the issue?
Google Chrome 91.0.4472.164
Framework
No response
RendererSet
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: