Before I call this line in my listbox extension:
self.backendApi.selectValues(dim, [value], true);
I want to first check the calculation of an expression which, in layman's terms, says "If selecting the value that you just clicked on would make another expression < 1, do not allow the selection."
If (expression < 1)
Make the selection
The question is, how can I calculate the result of this expression on the fly?