Problem/Motivation
If a form element has the ife_form_element theme wrapper, and there are no errors for this element yet, the element itself isn't rendered at all.
Normally this shouldn't be a problem, because IFE only adds the theme wrapper on form elements that do have an error.
But if for some reason the theme wrapper is added to the form element directly by custom code, the element isn't rendered at all.
Remaining tasks
Make a patch
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | ife-render_form_element_without_error-3057589-2.patch | 938 bytes | tvoesenek |
Comments
Comment #2
tvoesenek commentedThe theme_ife_form_element() function now returns the element untouched if there are no IFE errors, instead of returning an empty string.
Comment #3
paulvandenburg commentedLooks good, regardless of the bug seems like a good fix.
Also confirmed that it fixes the bug.
Comment #5
ram4nd commented