Skip to content

Commit f3309ae

Browse files
committed
Revert the props changes. Keep the changes for comments.
1 parent da811e5 commit f3309ae

File tree

1 file changed

+2
-20
lines changed

1 file changed

+2
-20
lines changed

src/components/Select.vue

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@
298298
<i v-if="!noDrop" ref="openIndicator" role="presentation" class="open-indicator"></i>
299299

300300
<slot name="spinner">
301-
<div class="spinner" v-show="mutableLoading">{{ loadingText }}</div>
301+
<div class="spinner" v-show="mutableLoading">Loading...</div>
302302
</slot>
303303
</div>
304304

@@ -310,7 +310,7 @@
310310
</a>
311311
</li>
312312
<li v-if="!filteredOptions.length" class="no-options">
313-
<slot name="no-options">{{ noMatchText }}</slot>
313+
<slot name="no-options">Sorry, no matching options.</slot>
314314
</li>
315315
</ul>
316316
</transition>
@@ -387,24 +387,6 @@
387387
default: ''
388388
},
389389
390-
/**
391-
* Text to show if there is no matching options
392-
* @type {String}
393-
*/
394-
noMatchText: {
395-
type: String,
396-
default: 'Sorry, no matching options.'
397-
},
398-
399-
/**
400-
* Text to show when loading
401-
* @type {String}
402-
*/
403-
loadingText: {
404-
type: String,
405-
default: 'Loading...'
406-
},
407-
408390
/**
409391
* Sets a Vue transition property on the `.dropdown-menu`. vue-select
410392
* does not include CSS for transitions, you'll need to add them yourself.

0 commit comments

Comments
 (0)