Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #99415
    admin
    Keymaster

    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

    #99422
    admin
    Keymaster

    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

    #99433
    admin
    Keymaster

    Hi,
    Thanks for the clarification. Am I correct that it also requires smart.listbox.js, because smart-drop-down-list requires it?
    Best regards,
    Mike

    #99434
    admin
    Keymaster

    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.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.