From a0fe969262efc7f0c9c633ede6b35537dd673a5a 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 --- .../core/js/src/common/components/Select.js | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/framework/core/js/src/common/components/Select.js b/framework/core/js/src/common/components/Select.js index d4cfab4fa..4e6ca8e32 100644 --- a/framework/core/js/src/common/components/Select.js +++ b/framework/core/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) => (