Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the module to work with PHP 7.2 and Webform #1

Open
wants to merge 2 commits into
base: 8.x-3.x
Choose a base branch
from

Conversation

dficker
Copy link
Contributor

@dficker dficker commented Sep 14, 2018

A few sections of the UX module are not working with PHP 7.2.

Exposed Filters of checkboxes are confused if no checkboxes are set. The default is no longer the "All" option, but an empty Array of options. PHP 7.2 throws a nasty error because it cannot convert a string to an empty array.

Also, the Webform module is starting to use a Drupal\Core\Template\Attribute class to manage attributes on some forms. UX Form now exports those to a more basic Array also accepted by the render system and adds a few classes as desired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant