Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
address
Commits
35fdda5b
Commit
35fdda5b
authored
Sep 04, 2017
by
fox mulder
Committed by
Bojan Živanović
Sep 04, 2017
Browse files
Issue
#2895058
by fox mulder: Country element doesn't display field description
parent
e2e22b6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Element/Country.php
View file @
35fdda5b
...
...
@@ -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'
];
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment