- Issue created by @joachim
The docs on the element class are really clear and comprehensive!
It would be nice if they also mentioned ways to get the values from the element.
E.g. if you only have a single child element, you can do this:
$values = array_column($form_state->getValue('multi_value_element'), 'child_element');
Active
1.0
Documentation