We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 883bb16 commit 897c905Copy full SHA for 897c905
uni_modules/uni-search-bar/components/uni-search-bar/uni-search-bar.vue
@@ -177,7 +177,9 @@
177
},
178
clear() {
179
this.searchVal = ""
180
- this.$emit("clear", '');
+ this.$nextTick(() => {
181
+ this.$emit("clear", { value: "" })
182
+ })
183
184
cancel() {
185
if(this.readonly) return
@@ -266,9 +268,9 @@
266
268
.uni-searchbar__box-search-input {
267
269
flex: 1;
270
font-size: 14px;
- color: #333;
- margin-left: 5px;
271
- margin-top: 1px;
+ color: #333;
272
+ margin-left: 5px;
273
+ margin-top: 1px;
274
background-color: inherit;
275
}
276
@@ -284,7 +286,7 @@
284
286
.uni-searchbar__text-placeholder {
285
287
288
color: #B3B3B3;
289
290
text-align: left;
291
292
0 commit comments