tableshape icon indicating copy to clipboard operation
tableshape copied to clipboard

Get name of failed field

Open luveti opened this issue 5 years ago • 0 comments

Is this possible? I'm looking to replace lapis.validate with this but there doesn't appear to be a equivalent to the { keys = true } option that validate takes in lapis. I use this to know what field to show the error on in larger forms.

Maybe this could be added as a third return value to type(value), type:check_value(value) and type.transform(value)?

luveti avatar Jun 11 '20 03:06 luveti