From 324340135bba1d8c12c0d459f68e09dbdeead54e Mon Sep 17 00:00:00 2001 From: Shawn Erquhart Date: Fri, 30 Jun 2017 17:58:26 -0400 Subject: [PATCH] lengthen relation search debounce to reduce lag --- src/components/Widgets/RelationControl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Widgets/RelationControl.js b/src/components/Widgets/RelationControl.js index fa6b3c94..378b0e60 100644 --- a/src/components/Widgets/RelationControl.js +++ b/src/components/Widgets/RelationControl.js @@ -69,7 +69,7 @@ class RelationControl extends Component { const collection = field.get('collection'); const searchFields = field.get('searchFields').toJS(); this.props.query(this.controlID, collection, searchFields, value); - }, 100); + }, 500); onSuggestionsClearRequested = () => { this.props.clearSearch();