- 🇫🇷France arousseau
This will need an update to reflect changes made in 🐛 Options using the same "search attribute"'s value are not all available Needs review if/when that lands.
- Status changed to Needs work
4 months ago 5:49pm 7 September 2024 - 🇬🇧United Kingdom Eli-T Manchester
@arousseau this now seems to work with the now merged change from #3441052, but needs the PHPCS issues raised by the CI to be fixed before it can be merged.
- 🇫🇷France arousseau
Thank you @eli-t
I think we can avoid adding a dedicated widget here !
I created ✨ Use OptionsProviderInterface to allow options widgets usage Active to handle adding the
OptionsProviderInterface
implementation to the field type.Once it is merged, we'll only need to add the following to the existing
jsonapi_reference_field_widget_info_alter
, to allow for the use of radio buttons :$info['options_buttons']['field_types'][] = 'typed_resource_object';
- Merge request !27Issue #3314975: Added options_buttons widget support. → (Merged) created by arousseau
- 🇫🇷France arousseau
arousseau → changed the visibility of the branch 3314975-Add_options_buttons_support_2_0_x to hidden.
- 🇫🇷France arousseau
arousseau → changed the visibility of the branch 3314975-Add_options_buttons_support_2_0_x to active.
- 🇫🇷France arousseau
arousseau → changed the visibility of the branch 3314975-add_radio_buttons_widget_2_0_x to hidden.
- 🇫🇷France arousseau
I created a new branch + MR for this simple addition. It should be good to go!
-
arousseau →
committed 2fc4397d on 2.0.x
Issue #3314975: Added options_buttons widget support.
-
arousseau →
committed 2fc4397d on 2.0.x
Automatically closed - issue fixed for 2 weeks with no activity.