Restrict the minimum cardinality of the related input based on a boolean expression.
If the expression tested by required-value
evaluates to true
, the prompt will behave as if min (Required)
was specified for the related input. If it evaluates to false
, the prompt will use the value the related input specifies for min
.
...
prompt (items) {
required-value (size(basket) == 0)
candidates (matches)
}
...
You can use required-value
to restrict an input constraint, but an input already specified as min (Required)
cannot have its cardinality constraint loosened to min (Optional)
.
Copyright 2025 Samsung All rights reserved