We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The enum type doesn't currently support defining default value, e.g. this will not work:
a.enum(["a", "b"]).default("a")
Code like above works, just like with other field types.
Had to use another field type (boolean or integer)
No response
The text was updated successfully, but these errors were encountered:
Hi @pjoe , Thank you for rasing this. we are marking this as a feature request for the team to evaluate further.
Sorry, something went wrong.
I would also be interested in this being supported.
No branches or pull requests
Describe the feature you'd like to request
The enum type doesn't currently support defining default value, e.g. this will not work:
Describe the solution you'd like
Code like above works, just like with other field types.
Describe alternatives you've considered
Had to use another field type (boolean or integer)
Additional context
No response
Is this something that you'd be interested in working on?
Would this feature include a breaking change?
The text was updated successfully, but these errors were encountered: