JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums General Discussions Query Builder Property field dropdown showing only top 8 results when searching

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #103210
    Pavan
    Participant

    Hi,

    I am using Query Builder in react. When I am searching in the property field dropdown(left side dropdown) in query builder, it is displaying only top 8 results.

    Is the filtered results in the property field dropdown restricted to 8 results?

    Can I customize this to more than 8 results?

    Thanks,

    Pavan.

     

    #103211
    Larry Johnson
    Blocked

    Hi

    #103221
    admin
    Keymaster

    Hi Pavan,

    The query builder uses smart-input internally. In smart-input, the auto-complete logic displays results matching a query and the maximum number of items is determined by the smart-input’s items property which defaults to 8. If you want to change the behavior of the query builder, you can make queryBuilder.querySelectorAll(‘smart-input’), loop through the found elements and update the “items” property to a value which you need.

    Hope this helps.

    Best regards,
    Peter Stoev

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

    #103223
    Pavan
    Participant

    Hi Peter,

    Thank you so much for the reply.

    It worked after updating “items” property of smart-input.

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