Adding data-live-search="true" to a select input

Permalink
Hi all,

Just wondering how I add element attributes to form items in the form block?

I am guessing it can be done by adding array but for the life of me I can't remember how this is done.

I basically want to edit the printed input field code to be able to add extra items such as data-live-search="true".

Any help would be greatly appreciated.

 

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.