Hi,
I am trying to use smart-combo-box and have included the files smart.element.js and smart.combobox.js, but an error is thrown. Do I have to include other files in order to display a combo box?
Best regards,
Mike
Hi Michael20,
In order to initialize a ComboBox custom element you need to include the following references:
smart.base.css
smart.element.js
smart.button.js
smart.scrollbar.js
smart.dropdownlist.js
smart.combobox.js
There are a detailed instructions and information about initializing a ComboBox custom element in the “Docs” section: ComboBox
Best Regards,
Christopher
Smart HTML Elements Team https://www.htmlelements.com
Hi Michael20,
Yes, smart.listbox.js is also required in order to initialize a ComboBox custom element. All elements are coded to throw an error or a warning in the console in case of a missing reference or improper usage.