Commit ed15c7d6 authored by bojanz's avatar bojanz
Browse files

Issue #2973741 by bojanz: Support #title_display and #description_display in...

Issue #2973741 by bojanz: Support #title_display and #description_display in the country form element
parent 95936fca
...@@ -91,6 +91,8 @@ class Country extends FormElement { ...@@ -91,6 +91,8 @@ class Country extends FormElement {
$element['country_code'] = [ $element['country_code'] = [
'#type' => 'select', '#type' => 'select',
'#title' => $element['#title'], '#title' => $element['#title'],
'#title_display' => $element['#title_display'],
'#description_display' => $element['#description_display'],
'#options' => $country_list, '#options' => $country_list,
'#default_value' => $element['#default_value'], '#default_value' => $element['#default_value'],
'#required' => $element['#required'], '#required' => $element['#required'],
......
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