Issue with Beans Developpement Version

Hi everyone, I hope you're fine. I was building a template, and I had issue with components loaded. I decided to load all seeing what I've forgotten. So if i write this:

beans_uikit_enqueue_components( array('close, cover, modal, overlay, tab, thumbnav, variables, autocomplete, customizer, description-list, form-password, notify, progress, sticky, scrollspy, switcher, toggle, contrast, flex, print, switcher, datepicker, thumbnail, accordion, column, dotnav, form-advanced, htmleditor, nestable, sortable, tooltip, core, search, touch') );
I can't get true. I need to do this:
beans_uikit_enqueue_components( true );
What did I missed?

Hi Oliver,

Your array is not defined correctly, each component must be an array value. So your code should be the following:

beans_uikit_enqueue_components( array( 'close', 'cover', 'modal', 'overlay', /* etc... */ ) );

I just noticed that there was a mistake in the documentation, I updated it.

Have fun,

Write a reply

Login or register to write a reply, it's free!