Looking at the code, it seems that the two option can't be used at the same time: https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/stacks/forms.py#L327-L336
If custom constraint is used, the allowedvalues is not applied anymore.
The change was introduced here: https://review.openstack.org/#/c/133270/
I suppose the expected behavior is: 1. Apply the custom constraint to get the list of Values 2. then if AllowedValues is defined, filter the list returned.
Looking at the code, it seems that the two option can't be used at the same time: https:/ /github. com/openstack/ horizon/ blob/master/ openstack_ dashboard/ dashboards/ project/ stacks/ forms.py# L327-L336
If custom constraint is used, the allowedvalues is not applied anymore.
The change was introduced here: https:/ /review. openstack. org/#/c/ 133270/
I suppose the expected behavior is:
1. Apply the custom constraint to get the list of Values
2. then if AllowedValues is defined, filter the list returned.