-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Wait for the first open to first load remote data #271
Comments
What about checking if $select.search is empty at the refresh function? |
Problem is that I want to load data when the user first click on the input 2014-10-07 22:38 GMT-03:00 Wladimir Coka [email protected]:
|
Related to PR #625 |
…ction is getting the request.
fix(#271) if option is set the refresh function is getting the request.
As the PR is merged please verify if it fix your problem. For now I will close the issue if needed you can reopen. |
fix(angular-ui#271) if option is set the refresh function is getting the request.
@Jefiozie this issue is to have an option to do "first load of remote data on first open of dropdown", not on page init. According to the official demo behavior and the code in the PR, this use case is still not supported. So probably makes sense to leave this issue open |
@DmitryGonchar i think this is already possible. When using the |
Thanks. I think this was not mentioned in the docs |
Currently, if has "refresh" attribute, its expression is performed as soon as the directive is instanciated.
It would be useful if there was a parameter to inform to perform the "refresh" expression only when the gets focus (and dropdown is opened) or the user changes input value (and taking into account the "refresh-delay" attribute).
The text was updated successfully, but these errors were encountered: