AutoComplete extend placement

The placement add value 'top-start', 'bottom-start', 'top-end', 'bottom-end'
This commit is contained in:
lifenglu 2019-10-16 11:53:33 +08:00
parent 9de03cf9f5
commit 12c7b289dc

View file

@ -87,8 +87,8 @@
default: false
},
placement: {
validator (value) {
return oneOf(value, ['top', 'bottom']);
validator (value) {
return oneOf(value, ['top', 'bottom', 'top-start', 'bottom-start', 'top-end', 'bottom-end']);
},
default: 'bottom'
},