SelectDialog – liveChange-Event

  • David B.
    Participant
      2 weeks, 4 days ago #70083

      Hey All,

      I’m using a SelectDialog-Widget in an application, because the user has to select from a large list and should be able to search through it quickly. I was expecting the search-functionalities would work from scratch (similar to TableEnhanced or other widgets). Unfortunately my list of items is not filtered when using the search bar. Is this expected behaviour or am I doing something wrong?

      Thank you very much!

      Armin Winkler
      Moderator
        Has successfully completed the online course Introduction
        Has successfully completed the online course Intermediate (200)
        Has successfully completed the online course Advanced (300)
        Has successfully completed the online course Basics (100)
      2 weeks, 2 days ago #70121
      Up
      1
      Down
      ::

      Hi David,

      the SelectDialog widget does not include any inbuilt search logic as of now unlike the TableEnhanced widget, so indeed this matches the expected behaviour. Also, the native OpenUI5 SelectDialog control does not offer this functionality per standard, but you would have to individually add the logic via JavaScript code that gets executed when the ‘search‘ and / or ‘liveChange‘ events fire. Here you can find a sample application from SAP demonstrating how to add search logic to the SelectDialog by registering a specific event handler.

      If you would like to request an enhancement of Simplifier’s SelectDialog widget to offer a generic inbuilt search functionality, you can do so via our Ideasportal.

      Kind regards,

      Armin

      David B.
      Participant
        2 weeks, 2 days ago #70122
        Up
        0
        Down
        ::

        Hi Armin,

        perfect, thank you for the quick answer!

      Viewing 3 posts - 1 through 3 (of 3 total)

      You must be logged in to reply to this topic.