- Issue created by @SanderJP
- 🇳🇱Netherlands SanderJP
The main difference between
hook_field_widget_multivalue_form_alter
(D9) andhook_field_widget_complete_form_alter
(D10) is in D9$elements
is the widget itself:
In D10 we get the parent container element$field_widget_complete_form
containing the widget:
The attached patch is assuming this parent container setup is consistent for all fields but I've only tested this on a node entity type. But this patch allows me to use the Visibility Conditions again.
-
pcambra →
committed b3b46b61 on 2.x authored by
SanderJP →
Issue #3409042 by SanderJP: hook_field_widget_multivalue_form_alter() is...
-
pcambra →
committed b3b46b61 on 2.x authored by
SanderJP →
- Status changed to Fixed
about 1 year ago 9:30am 18 December 2023 - 🇪🇸Spain pcambra Asturies
Many thanks for your contribution! Release tag coming up.
Automatically closed - issue fixed for 2 weeks with no activity.