Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When using multiselect field type in Form API and set #default_value in the following format array('18', '46'), values are not applied.
Comment | File | Size | Author |
---|---|---|---|
#2 | multiselect_default_values_form_api_issue-2745499-2.patch | 589 bytes | boychev |
Comments
Comment #2
boychev CreditAttribution: boychev commentedComment #4
drupal_beast CreditAttribution: drupal_beast commentedFixed in #2770445: Selected options are empty, even though they have data.