Replies: 2 comments
-
|
@YassienW Primitives (like Select or ToggleGroup) don''t have built-in "required min length" validation logic because they are uncontrolled view components. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I realized that this was posted in the wrong repo...closing |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I currently have a field that allows you to select multiple items from another model (O2M relation).
Is there a way to add validation so the user can't save an empty selection? I want to ensure that the list has at least one item
Removing the last item should return an error on save

The field doesn't have a setting to control null values, and item validation doesn't work. I couldn't find any info on the docs or online. Help would be appreciated
Beta Was this translation helpful? Give feedback.
All reactions