How to reproduce it
- create a color-set decision and set the
params.value to an empty array:
{ "model": "color-set/explicit", "name": "Bar", "params": { "values": [] } }
What happens
Decision is not render and no feedback is given
What should happen
Validation should happen and an error should be display as a decision error
Fix
Related:
In all set/scale of explicit models, declare that values needs to have at least 1 item
https://stackoverflow.com/questions/49910889/typescript-array-with-minimum-length
How to reproduce it
params.valueto an empty array:{ "model": "color-set/explicit", "name": "Bar", "params": { "values": [] } }What happens
Decision is not render and no feedback is given
What should happen
Validation should happen and an error should be display as a decision error
Fix
Related:
In all set/scale of explicit models, declare that
valuesneeds to have at least 1 itemhttps://stackoverflow.com/questions/49910889/typescript-array-with-minimum-length