We've deprecated the min
and max
key within prompt
. To restrict the cardinality of the related input, you can use a boolean expression using the new required-value
and single-value
keys.
...
prompt (items) {
required-value (size(basket) == 0)
candidates (matches)
}
...
prompt (items) {
single-value (size(basket) == 1)
candidates (matches)
}
...
Deprecation Stages (learn more)
Copyright 2023 Samsung All rights reserved