If I have two parameters
parameter: reference_period {
type: date
}
parameter: compared_period {
type: date
}
is there a way to restrict dates in the parameter compared_period?
The idea is that the date selected in the compared_period parameter should always be <= to the date selected in reference_period parameter. So if user selects e.g. 2021-01-01 in reference_period, all the dates > 2021-01-01 in compared_period would be either greyed out or there would be something like an error message asking asking to choose a valid date?
Tried to look into allowed_value option but it does not seem to work the way I want.