mirror of
https://github.com/tenrok/vue-select.git
synced 2026-05-26 04:34:04 +03:00
Revert the props changes. Keep the changes for comments.
This commit is contained in:
@@ -298,7 +298,7 @@
|
||||
<i v-if="!noDrop" ref="openIndicator" role="presentation" class="open-indicator"></i>
|
||||
|
||||
<slot name="spinner">
|
||||
<div class="spinner" v-show="mutableLoading">{{ loadingText }}</div>
|
||||
<div class="spinner" v-show="mutableLoading">Loading...</div>
|
||||
</slot>
|
||||
</div>
|
||||
|
||||
@@ -310,7 +310,7 @@
|
||||
</a>
|
||||
</li>
|
||||
<li v-if="!filteredOptions.length" class="no-options">
|
||||
<slot name="no-options">{{ noMatchText }}</slot>
|
||||
<slot name="no-options">Sorry, no matching options.</slot>
|
||||
</li>
|
||||
</ul>
|
||||
</transition>
|
||||
@@ -387,24 +387,6 @@
|
||||
default: ''
|
||||
},
|
||||
|
||||
/**
|
||||
* Text to show if there is no matching options
|
||||
* @type {String}
|
||||
*/
|
||||
noMatchText: {
|
||||
type: String,
|
||||
default: 'Sorry, no matching options.'
|
||||
},
|
||||
|
||||
/**
|
||||
* Text to show when loading
|
||||
* @type {String}
|
||||
*/
|
||||
loadingText: {
|
||||
type: String,
|
||||
default: 'Loading...'
|
||||
},
|
||||
|
||||
/**
|
||||
* Sets a Vue transition property on the `.dropdown-menu`. vue-select
|
||||
* does not include CSS for transitions, you'll need to add them yourself.
|
||||
|
||||
Reference in New Issue
Block a user