I have a situation where a field (answer) is dynamic… it can be a number, a date or one of a set of options…
This gist shows it off:
The hints show all the messages for RHS of the “then” – for example if kind is “number” and answer is blank, it shows “must be a number, must be a date, must be one of…”.
Generally speaking, when we have (a & b) then c as a predicate, and a is false, i’d expect the hints not to include ‘c’. However, it appears we have validation messages on that…
How should this be restructured to generate correct hints, and also, if this is expected behaviour, why? How do hints get generated?