HTML Elements Forums ComboBox Displaying a combo box?

This topic contains 3 replies, has 2 voices, and was last updated by  Christopher 8 months, 1 week ago.

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

    Michael20
    Participant

    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

    Christopher
    Participant

    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

    Michael20
    Participant

    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

    Christopher
    Participant

    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.

    • This reply was modified 8 months, 1 week ago by  Christopher.
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.