-
-
Notifications
You must be signed in to change notification settings - Fork 154
Description
In the documentation for "External data" for the autocomplete component, there is a [delay]="500" attribute specified in the examle.
I assumed, that this will lazy call the (inputChange) callback only after this delay (of milliseconds) has been exceeded. So if a user writes very fast, the callback will only be fired once, after the last key has been pressed and the delay has passed.
But this does not seem to work that way. Even a value of 5000 did not impact the functionality in any way and the callback would be fired for (nearly) every key pressed.
When checking the documentation, I saw, that the delay parameter is not mentioned in the API reference.
Is the example wrong and no delay exist or does it not work? Would be really cool to have the delay for external searches, to not handle this for every use of the component.