Custom message to formSchema in TanTack Form Standard Schema

How to customize error messages i this example?

const formSchema = type({
firstName: 'string >=3',
lastName: 'string >=3',
});

I tried .configure but could not get any change on it. Please point me to any working docs or example. Thx.
Was this page helpful?