Skip to content

Commit 50f9bcc

Browse files
authored
Merge pull request sagalbot#297 from meteorlxy/patch-2
Add loadingText and noMatchText.
2 parents 64fda95 + f3309ae commit 50f9bcc

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/components/Select.vue

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@
350350
* If you are using an array of objects, vue-select will look for
351351
* a `label` key (ex. [{label: 'This is Foo', value: 'foo'}]). A
352352
* custom label key can be set with the `label` prop.
353-
* @type {Object}
353+
* @type {Array}
354354
*/
355355
options: {
356356
type: Array,
@@ -389,7 +389,7 @@
389389
390390
/**
391391
* Equivalent to the `multiple` attribute on a `<select>` input.
392-
* @type {Object}
392+
* @type {Boolean}
393393
*/
394394
multiple: {
395395
type: Boolean,
@@ -398,7 +398,7 @@
398398
399399
/**
400400
* Equivalent to the `placeholder` attribute on an `<input>`.
401-
* @type {Object}
401+
* @type {String}
402402
*/
403403
placeholder: {
404404
type: String,
@@ -447,6 +447,7 @@
447447
/**
448448
* Callback to generate the label text. If {option}
449449
* is an object, returns option[this.label] by default.
450+
* @type {Function}
450451
* @param {Object || String} option
451452
* @return {String}
452453
*/
@@ -467,7 +468,7 @@
467468
* value(s) change. When integrating with Vuex, use this callback to trigger
468469
* an action, rather than using :value.sync to retreive the selected value.
469470
* @type {Function}
470-
* @default {null}
471+
* @param {Object || String} val
471472
*/
472473
onChange: {
473474
type: Function,

0 commit comments

Comments
 (0)