Comments (8)
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.
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.
Ok, I understand the problem. Will have a look and see what we can do.
iain
from autocompleteformendix.
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.
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.
Great, have created a 3.1.1 release... will close this issue when its available on the app store
from autocompleteformendix.
Version 3.1.1 now available on the app store
from autocompleteformendix.
Thanks again!!
from autocompleteformendix.
Related Issues (20)
- AutoCompleteForMendix in combination with close page
- Autocomplete not working in Mendix 8.12.1 HOT 4
- Cannot tab past widget HOT 2
- Error and warnings on closing page HOT 2
- Search bar doesn't render properly when placed inside a second modal popup. (Mendix 8.15.0)
- Failed to fetch on no result microflow HOT 1
- Limited styling options HOT 1
- Validation message count does not update correctly in a tab container
- Focus issue - when you click tab instead of 'enter'
- on-change microflow with pop-up page keeps a page-open state in memory
- No results displayed by default HOT 4
- Cant clear with 'Allow clear' and 'Select on Close' properties both enabled.
- Why was it chosen to put "Search String" to the context object instead of an extra microflow parameter? HOT 1
- List items are garbage-collected on client
- 404 file not found errors in client logs HOT 1
- No Results button kicks user to home page
- Usage of nanoflows for OnChange event
- No Records found if Template Attribute comes from related entity
- Close page in OCH microflow not working
- Error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autocompleteformendix.