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
I want to have a type number with the modifiers .optional() and .hint()
Current Behavior
I have a zod schema with a z.number().optional().hint() property. When I try to add a new object, it crashes this part, returning an error of "Expected number, recieved string"
Steps to Reproduce
Steps to reproduce the behavior:
Go to admin panel
Create an object with a z.number().optional().hint() propery
Try to add a new object by filling that property input
Context (Environment)
Default setup
OS: Windows 11
Browser: Chrome
Environment: dev
Issue demo
The text was updated successfully, but these errors were encountered:
Expected Behavior
I want to have a type number with the modifiers .optional() and .hint()
Current Behavior
I have a zod schema with a z.number().optional().hint() property. When I try to add a new object, it crashes this part, returning an error of "Expected number, recieved string"
Steps to Reproduce
Steps to reproduce the behavior:
Context (Environment)
Issue demo
The text was updated successfully, but these errors were encountered: