- πΊπΈUnited States m.stenta
I gave this a try and it was pretty simple. Opened a merge request for review...
See attached before and after of a
lab_test_type
field that I am testing this with. - Open on Drupal.org βCore: 10.0.7 + Environment: PHP 8.1 & MySQL 8last update
over 1 year ago Waiting for branch to pass - @mstenta opened merge request.
- Status changed to Needs review
over 1 year ago 6:32pm 14 September 2023 - πΊπΈUnited States m.stenta
@Wim Leers: I'm not sure if this covers the case that you described. Maybe that requires a different change, and thus should be a separate issue? Is it directly related to
allowed_values_function
? - Open on Drupal.org βCore: 10.1.4 + Environment: PHP 8.1 & MySQL 8last update
over 1 year ago Waiting for branch to pass - πΊπΈUnited States m.stenta
Attached is a patch for use in
composer.json
withcweagans/composer-patches
while we wait for this to be reviewed/merged. It is identical to the MR. - Status changed to Closed: won't fix
about 1 year ago 5:01pm 27 October 2023 - πΊπΈUnited States m.stenta
I opened a new issue which replaces the need for this one, and adds support for even more field types with "allowed values": β¨ Use OptionsProviderInterface::getPossibleOptions() for allowed field values (anyOf / oneOf) Needs review
I'm going to close this as "won't fix" so we can turn attention to that one instead.