Searchable list box with HTML attributes

The regular list box has “HTML attributes” in “Links and Actions” but the searchable list box does not have. Does anybody know how to get a searchable one but with “HTML attributes” so that one could set up an action on click?