File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 88
88
* @type {Function}
89
89
* @default {null}
90
90
*/
91
- onChange: Function
91
+ onChange: {
92
+ type: Function,
93
+ default: function (val) {
94
+ this.$emit('input', val)
95
+ }
96
+ },
97
+
98
+ /**
99
+ * Sets the id of the input element.
100
+ * @type {String}
101
+ * @default {null}
102
+ */
103
+ inputId: {
104
+ type: String
92
105
}
93
106
94
107
}
Original file line number Diff line number Diff line change 276
276
:placeholder =" searchPlaceholder"
277
277
:readonly =" !searchable"
278
278
:style =" { width: isValueEmpty ? '100%' : 'auto' }"
279
+ :id =" inputId"
279
280
>
280
281
281
282
<i v-if =" !noDrop" ref =" openIndicator" role =" presentation" class =" open-indicator" ></i >
481
482
noDrop: {
482
483
type: Boolean ,
483
484
default: false
485
+ },
486
+
487
+ /**
488
+ * Sets the id of the input element.
489
+ * @type {String}
490
+ * @default {null}
491
+ */
492
+ inputId: {
493
+ type: String
484
494
}
485
495
},
486
496
You can’t perform that action at this time.
0 commit comments