From 3130e3de5ead9ee8cf72552c4b45b1d7a9f25af0 Mon Sep 17 00:00:00 2001 From: David Wheatley Date: Tue, 13 Jul 2021 13:42:46 +0100 Subject: [PATCH] Allow extra attrs provided to `` to be passed through to the DOM element * Allow direct passing attrs to the Select wrapper * Format --- js/src/common/components/Select.js | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/js/src/common/components/Select.js b/js/src/common/components/Select.js index d4cfab4fa..4e6ca8e32 100644 --- a/js/src/common/components/Select.js +++ b/js/src/common/components/Select.js @@ -1,6 +1,7 @@ import Component from '../Component'; import icon from '../helpers/icon'; import withAttr from '../utils/withAttr'; +import classList from '../utils/classList'; /** * The `Select` component displays a ` + * + * Other attributes are passed directly to the ` {Object.keys(options).map((key) => (