This topic contains 3 replies, has 2 voices, and was last updated by Anonymous 1 year, 6 months ago.
- January 10, 2019 at 5:57 am #99415
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?
MikeJanuary 10, 2019 at 8:56 am #99422
In order to initialize a ComboBox custom element you need to include the following references:
There are a detailed instructions and information about initializing a ComboBox custom element in the “Docs” section:
Smart HTML Elements Team
https://www.htmlelements.comJanuary 14, 2019 at 10:09 am #99433
Thanks for the clarification. Am I correct that it also requires smart.listbox.js, because smart-drop-down-list requires it?
MikeJanuary 14, 2019 at 11:13 am #99434
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.
- This reply was modified 1 year, 6 months ago by .
You must be logged in to reply to this topic.