Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add explanation what is focusInputs for
dominik-zeglen25d9b8136a70
diff --git a/saleor/static/dashboard/js/components/modal.js b/saleor/static/dashboard/js/components/modal.jsindex aa298b8139..862e38e0a4 100644--- a/saleor/static/dashboard/js/components/modal.js+++ b/saleor/static/dashboard/js/components/modal.js@@ -1,6 +1,7 @@import {initSelects} from './utils';import SVGInjector from 'svg-injector-2';+// List of input types that can be autofocused after opening modalconst focusInputs = ['textarea','input[type="text"]:not(.select-dropdown)',