#field.state.meta.errors type is undefined[] when using Form level schema only?

15 messages · Page 1 of 1 (latest)

quasi stone
young trellis
#

Make a GH issue please. We took this edgecase into consideration but if it's not working I'll have to figure out why

#

Might be a simple fix

#

In fact, I know why this is happening. We're doing errors[field] in our type when we need to be doing DeepValue<error, field> this is our bad. I'm unavailable today so can you make an issue with this detail included. Will be a minor patch very easy fix

quasi stone
#

Nice yeah I can create it! Sorry wasn't sure if it was really an issue or a skill issue haha

quasi stone
young trellis
#

Thanks! Technically it's only subfields that have this problem

#

So field.subfield

quasi stone
#

Oh noted, I'll update it

young trellis
#

Oh... Oh dear....

#

I didn't test this well enough at all 😦

#

This was a fantastic catch. This would be embarassing to launch for v1

#

Thank you immensely @quasi stone

quasi stone
#

You're welcome dude! Hyped for V1 🙂