diff --git a/components/auto-complete/demo/allow-clear.vue b/components/auto-complete/demo/allow-clear.vue
new file mode 100644
index 000000000..121c96b1e
--- /dev/null
+++ b/components/auto-complete/demo/allow-clear.vue
@@ -0,0 +1,69 @@
+
+---
+order: 8
+title:
+ zh-CN: 自定义清除按钮
+ en-US: Customize clear button
+---
+
+## zh-CN
+
+自定义清除按钮。
+
+## en-US
+
+Customize clear button.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/auto-complete/demo/border-less.vue b/components/auto-complete/demo/border-less.vue
new file mode 100644
index 000000000..44715e89d
--- /dev/null
+++ b/components/auto-complete/demo/border-less.vue
@@ -0,0 +1,53 @@
+
+---
+order: 7
+title:
+ zh-CN: 无边框
+ en-US: Border less
+---
+
+## zh-CN
+
+没有边框。
+
+## en-US
+
+border less.
+
+
+
+
+
+
+
diff --git a/components/auto-complete/demo/index.vue b/components/auto-complete/demo/index.vue
index a788b90fb..70cb70d8a 100644
--- a/components/auto-complete/demo/index.vue
+++ b/components/auto-complete/demo/index.vue
@@ -7,6 +7,8 @@
+
+
@@ -18,6 +20,8 @@ import NonCaseSensitive from './non-case-sensitive.vue';
import CertainCategory from './certain-category.vue';
import UncertainCategory from './uncertain-category.vue';
import statusVue from './status.vue';
+import BorderLess from './border-less.vue';
+import AllowClear from './allow-clear.vue';
import CN from '../index.zh-CN.md';
import US from '../index.en-US.md';
@@ -34,6 +38,8 @@ export default defineComponent({
NonCaseSensitive,
CertainCategory,
UncertainCategory,
+ BorderLess,
+ AllowClear,
},
setup() {
return {};
diff --git a/components/auto-complete/index.en-US.md b/components/auto-complete/index.en-US.md
index 3493b9f90..8b9c21507 100644
--- a/components/auto-complete/index.en-US.md
+++ b/components/auto-complete/index.en-US.md
@@ -30,6 +30,8 @@ The differences with Select are:
| allowClear | Show clear button, effective in multiple mode only. | boolean | false | |
| autofocus | get focus when component mounted | boolean | false | |
| backfill | backfill selected item the input when using keyboard | boolean | false | |
+| bordered | Whether has border style | boolean | true | 4.0 |
+| clearIcon | Use slot custom clear icon | slot | `
` | 4.0 |
| default (for customize input element) | customize input element | slot | `
` | |
| defaultActiveFirstOption | Whether active first option by default | boolean | true | |
| defaultOpen | Initial open state of dropdown | boolean | - | |
diff --git a/components/auto-complete/index.tsx b/components/auto-complete/index.tsx
index a6b8fb8ad..3e2b7a63f 100644
--- a/components/auto-complete/index.tsx
+++ b/components/auto-complete/index.tsx
@@ -54,6 +54,7 @@ const AutoComplete = defineComponent({
default: any;
notFoundContent: any;
dataSource: any;
+ clearIcon: any;
}>,
setup(props, { slots, attrs, expose }) {
warning(
diff --git a/components/auto-complete/index.zh-CN.md b/components/auto-complete/index.zh-CN.md
index f6b67c506..44b21e63d 100644
--- a/components/auto-complete/index.zh-CN.md
+++ b/components/auto-complete/index.zh-CN.md
@@ -31,6 +31,8 @@ coverDark: https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*WERTQ6qvgEYAAA
| allowClear | 支持清除, 单选模式有效 | boolean | false | |
| autofocus | 自动获取焦点 | boolean | false | |
| backfill | 使用键盘选择选项的时候把选中项回填到输入框中 | boolean | false | |
+| bordered | 是否有边框 | boolean | true | 4.0 |
+| clearIcon | 使用插槽自定义清除按钮 | slot | `
` | 4.0 |
| default (自定义输入框) | 自定义输入框 | slot | `
` | |
| defaultActiveFirstOption | 是否默认高亮第一个选项。 | boolean | true | |
| defaultOpen | 是否默认展开下拉菜单 | boolean | - | |