Skip to content

Commit 12c7b28

Browse files
committed
AutoComplete extend placement
The placement add value 'top-start', 'bottom-start', 'top-end', 'bottom-end'
1 parent 9de03cf commit 12c7b28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/auto-complete/auto-complete.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@
8787
default: false
8888
},
8989
placement: {
90-
validator (value) {
91-
return oneOf(value, ['top', 'bottom']);
90+
validator (value) {
91+
return oneOf(value, ['top', 'bottom', 'top-start', 'bottom-start', 'top-end', 'bottom-end']);
9292
},
9393
default: 'bottom'
9494
},

0 commit comments

Comments
 (0)