-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
In order to set the allowed values independent of the current value used in the returned link, the Parameter class should have a field currentValue which is returned in the get method.
For example, if the field currentValue is added and the line
return allowedValues.isEmpty() ? defaultValue : allowedValues.get(0);
is replaced by
if (currentValue != null) {
return currentValue
} else {
return allowedValues.isEmpty() ? defaultValue : allowedValues.get(0);
}
then everything should be working as before, with the option to provide a currentValue different from any of the allowedValues.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels