Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Require minimum 2 characters for search in ajax select 2 field

Anna Siwikbd26fc38c4cb
diff --git a/saleor/static/dashboard/js/components/utils.js b/saleor/static/dashboard/js/components/utils.js
index 56243ee5d2..52aecc993f 100644
--- a/saleor/static/dashboard/js/components/utils.js
+++ b/saleor/static/dashboard/js/components/utils.js
@@ -37,7 +37,8 @@ export function initSelects() {
url: url,
delay: 250
},
- width: '100%'
+ width: '100%',
+ minimumInputLength: 2
});
});
}