You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Jarvelov
First of all thanks for your wonderful project!
I have a more complex use case where I use a base schema and implement this schema using the allOf feature.
Furthermore I have defined errorHandler divs to display the validation errors. Sadly for all fields that are defined in the base schema the validation errors are missing. The fields that are defined in the child schema do work properly.
As you can see there the title property errors are not shown in contrast to the lead property.
The default example shows an invalid model. The valid property is correctly set to false but the error handler for the title never receives the errors.
Thx a lot for having a look 😃
The text was updated successfully, but these errors were encountered:
I see the issue but I haven't got time to dig into it right now. I think at a first glance that in this example it's likely that the $ref is the issue. Support for the $ref feature is something which I haven't really verified yet.
The issue might be because of the allOf keyword too, support for that is kinda patchy. I'll try to look into this tomorrow after work.
Hi Jarvelov
First of all thanks for your wonderful project!
I have a more complex use case where I use a base schema and implement this schema using the
allOf
feature.Furthermore I have defined errorHandler divs to display the validation errors. Sadly for all fields that are defined in the base schema the validation errors are missing. The fields that are defined in the child schema do work properly.
I create a code sandbox which reproduces the error: https://codesandbox.io/s/allof-validation-errors-missing-cwszg
As you can see there the
title
property errors are not shown in contrast to thelead
property.The default example shows an invalid model. The
valid
property is correctly set tofalse
but the error handler for the title never receives the errors.Thx a lot for having a look 😃
The text was updated successfully, but these errors were encountered: