Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #103947

    In Your tooleset there are many tools named input… and others, similar which seems to do the same things.

    For example smart-input (as dropdown) and dropdownlist.

    What’s the difference ?

    Tks

    #103949
    admin
    Keymaster

    Hi,

    The difference is in the features basically and the purpose for which the component will be used. smart-input is perfect for small amount of data while the dropdownlist can be loaded with thousands of items in the data source. Things like popup resize, checkbox selection, radio button selection and many others are available in dropdownlist and not in smart-input. Basically, it depends on your needs.

    Best regards,
    Peter Stoev

    Smart UI Team
    https://www.htmlelements.com/

    #103950

    My problem is that when the dropdown has many elements (> 500) it’s slow (more than 1 sec to show).

    I hoped that a simpler element like smart input was faster.

    Isn’t it ?

    Tks

    #103951
    admin
    Keymaster

    Hi,

    Use the dataSource property instead of adding HTML Elements and it will be fine to use dropdownlist.
    The input cannot display 500 items.

    Best regards,
    Peter Stoev

    Smart UI Team
    https://www.htmlelements.com/

    #103953

    I already use dataSource but it seems a little better but is stil slow more than standard html select.

    Tks

    #103956
    admin
    Keymaster

    Hi,

    It should be expected to be slower than the native html select. You can try different options – with smart-input or with smart-drop-down-list with datasource. With data-source we think the performance is fine, but if you have many elements on your page it will make a difference.

    Best regards,
    Peter Stoev

    Smart UI Team
    https://www.htmlelements.com/

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