How to show element only once but any of them? #790
-
I have code that can be
So it might have one or number for keywords but every keywork only once, here is what I do.
But in this case I can only place one keyword, How is it done correctly? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @Serhioromano, so in theory you could use the unordered groups feature:
However, I would recommend a more flexible approach with better error messages:
And then simply write a custom validator to determine whether modifiers are duplicated. That allows you to write a specific message that helps users identify issues (i.e. something like |
Beta Was this translation helpful? Give feedback.
Hey @Serhioromano,
so in theory you could use the unordered groups feature:
However, I would recommend a more flexible approach with better error messages:
And then simply write a custom validator to determine whether modifiers are duplicated. That allows you to write a specific message that helps users identify issues (i.e. something like
Duplicate declara…