GithubHelp home page GithubHelp logo

Comments (8)

lindski avatar lindski commented on August 29, 2024

Thanks!

Before processing the results, the widget checks to ensure that the search term hasn't changed. If it has changed then it doesn't process the results (it expects a new result set matching the new term).

Are you seeing results appear that do not match the search term?

from autocompleteformendix.

lenn123 avatar lenn123 commented on August 29, 2024

No, we are using a microflow to fill in our search results which is calling a webservice. In order to prevent the webservice call in it self it would be nice to limit this based on a preset delay. This delay is basically a timeout that calls the _findMatches functions, kind of like in the Onchangeinputbox https://github.com/mendix/OnchangeInputbox. Reasons to limit the webservice calls are cost efficiency (each call costs money) but also resource efficiency as webservice calls are relatively costly server operations.

from autocompleteformendix.

lindski avatar lindski commented on August 29, 2024

Ok, I understand the problem. Will have a look and see what we can do.

iain

from autocompleteformendix.

lindski avatar lindski commented on August 29, 2024

Hi,

I've added a new parameter in commit 1edd02b called 'Search Delay' (under the 'Search' tab) that allows you to define a delay in milliseconds. The widget now waits for the user to stop typing for this configured time period before the search is executed.

An updated widget is available in the test project... can you check to see if this meets your expectations and then I will create a release and get it published to the appstore.

Cheers

iain

from autocompleteformendix.

lenn123 avatar lenn123 commented on August 29, 2024

Hi,

I just tested the new version of the widget. This is exactly as I would expect it to work! Thank you very much for the quick change. It is highly appreciated!

from autocompleteformendix.

lindski avatar lindski commented on August 29, 2024

Great, have created a 3.1.1 release... will close this issue when its available on the app store

from autocompleteformendix.

lindski avatar lindski commented on August 29, 2024

Version 3.1.1 now available on the app store

from autocompleteformendix.

lenn123 avatar lenn123 commented on August 29, 2024

Thanks again!!

from autocompleteformendix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.