fix(components): [cascader] Unable to use spaces when filtering (#5676)

This commit is contained in:
C.Y.Kun 2022-01-31 23:03:58 +08:00 committed by GitHub
parent 97658e2e5c
commit 1a24e85248
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@
>
<el-input
ref="input"
v-model.trim="inputValue"
v-model="inputValue"
:placeholder="inputPlaceholder"
:readonly="readonly"
:disabled="isDisabled"
@ -92,7 +92,7 @@
</el-tag>
<input
v-if="filterable && !isDisabled"
v-model.trim="searchInputValue"
v-model="searchInputValue"
type="text"
class="el-cascader__search-input"
:placeholder="presentText ? '' : inputPlaceholder"