-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
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
[*] Array of Subdocuments - Support Enums #124
Labels
Comments
Hi @laruche, Indeed Enums are not well supported in arrays of subdocuments so far :/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello
It's possible duplicate of BUG #44 marked as resolved,
but I found an issue on my schema,
If I use an enum in an array, forest don't show the select
content : { type: [ { locale : { type : String, enum : ['FR_FR', 'AR_AR'], required : true, default : 'FR_FR' } } ], required: true, validate: [(value) => value.length > 0, 'YOU MUST SELECT CONTENT'], },
The text was updated successfully, but these errors were encountered: