Commit 35fdda5b authored by fox mulder's avatar fox mulder Committed by bojanz
Browse files

Issue #2895058 by fox mulder: Country element doesn't display field description

parent e2e22b6e
......@@ -108,6 +108,10 @@ class Country extends FormElement {
$element['country_code']['#ajax'] = $element['#ajax'];
unset($element['#ajax']);
}
if (!empty($element['#description'])) {
$element['country_code']['#description'] = $element['#description'];
unset($element['#description']);
}
}
// Remove the 'country_code' level from form state values.
$element['country_code']['#parents'] = $element['#parents'];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment