You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the example, the form is not styled, JavaScript validation does not work.
I think the culprit is in the initialization of the Zebra_Form class where $attributes are (by default) initialized to an empty string instead of an empty array. Consequent adding of the Zebra_Form CSS class (in render()) thus does not modify the array as intended.
I think this is related to upgrade to PHP 7 as I have not seen this behaviour several month ago.
When running the example, the form is not styled, JavaScript validation does not work.
I think the culprit is in the initialization of the
Zebra_Form
class where$attributes
are (by default) initialized to an empty string instead of an empty array. Consequent adding of theZebra_Form
CSS class (inrender()
) thus does not modify the array as intended.I think this is related to upgrade to PHP 7 as I have not seen this behaviour several month ago.
Anyway, for me the following patch worked:
The text was updated successfully, but these errors were encountered: