angular-instantsearch icon indicating copy to clipboard operation
angular-instantsearch copied to clipboard

feat(search-box): add loading indicator + `showLoadingIndicator` prop

Open aymeric-giraudet opened this issue 3 years ago • 1 comments

Summary

Work Item : FX-377

To stay as close as InstantSearch.js's interface as possible, we decided to add a showLoadingIndicator prop which is true by default. The only difference is that we are not able to provide a custom component, which is not feasible for submit/reset buttons anyway.

Result

By default, when search is stalled, the reset button will be hidden, and a loading indicator is shown. If showLoadingIndicator is set to false, it will never show a loading indicator, and the reset button will still be present if search is stalled.

aymeric-giraudet avatar Aug 10 '22 15:08 aymeric-giraudet

Deploy Preview for angular-instantsearch ready!

Name Link
Latest commit f2ba6277ce53a952187ac8599dfb6758b726c422
Latest deploy log https://app.netlify.com/sites/angular-instantsearch/deploys/62f3d498fbeb9700096d3298
Deploy Preview https://deploy-preview-962--angular-instantsearch.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

netlify[bot] avatar Aug 10 '22 15:08 netlify[bot]