+
`;
@@ -152,7 +152,7 @@ exports[`renders ./components/select/demo/search-box.md correctly 1`] = `
-
input search text
+
input search text
@@ -165,7 +165,7 @@ exports[`renders ./components/select/demo/select-users.md correctly 1`] = `
-
Select users
+
Select users
@@ -182,31 +182,23 @@ exports[`renders ./components/select/demo/size.md correctly 1`] = `
-
Please select
+
Please select
-
+
a1
-
+
b2
@@ -221,20 +213,14 @@ exports[`renders ./components/select/demo/size.md correctly 1`] = `
-
Please select
+
Please select
-
+
a1
-
+
b2
@@ -255,18 +241,14 @@ exports[`renders ./components/select/demo/suffix.md correctly 1`] = `
@@ -276,9 +258,7 @@ exports[`renders ./components/select/demo/tags.md correctly 1`] = `
-
Tags Mode
+
Tags Mode
diff --git a/components/vc-select/Select.jsx b/components/vc-select/Select.jsx
index db2e2bc70..5494ef9a1 100644
--- a/components/vc-select/Select.jsx
+++ b/components/vc-select/Select.jsx
@@ -1052,14 +1052,12 @@ const Select = {
});
value.forEach(singleValue => {
const key = singleValue;
+ const attrs = {
+ ...UNSELECTABLE_ATTRIBUTE,
+ role: 'option',
+ };
const menuItem = (
-