indie-ui
indie-ui copied to clipboard
Input min and max values(length) & Costum zod schema error message
For text inputs and number inputs to configure the length like for text inputs the value to not be less than 0 and/or more than 100 , and for the text same like for names min 3 characters max 20 or something
Option to write a custom error message for the zod schema for each field Instead of showing String must contain 3 characters to say custom message like Name must be at least 3 characters etc..
this will also help wit extra features like:
- default values
- better validation
- constraints
- etc...