Does Onsen have a search element?



  • I’m trying to find a replacement framework for jquerymobile. I have an app that I’d like to rewrite. My app has a JQM search bar that automatically searches my lists. I’ve seen reference to an onsen input search feature but nothing that relates to a general search bar element that can be added for lists. JQM made this so easy. (data-filter=“true”)

    Thanks for your time in answering my question.


  • Onsen UI

    @Curiosity The provided search input only applies styles depending on the platform, it does not have the functionality to filter lists or anything like that. It is somewhere in the roadmap but there are so many ways to implement it that it’s hard to provide a solution that fits everything.



  • Thanks @Fran Diox

    I’m not a coder and would struggle with attempting to code this feature.

    In JQM, I simply added the data-filter to my <div> and that was all there was too it. The code worked behind the scenes. Onsen is beautiful and fast. I wish that I had the ability to rewrite my little app in Onsen. Maybe after I do my app’s next update, I can figure out how to add this feature via .js. If so, I’ll try Onsen to see if I can get it to do what I need.

    Regards,
    -Rachel


  • Onsen UI

    @Curiosity If all you want are JavaScript helpers, then you can use something like List.js. It’s probably easy to use with Onsen UI elements :)


Log in to reply