mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-19 09:50:33 +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>
|
<i v-if="!noDrop" ref="openIndicator" role="presentation" class="open-indicator"></i>
|
||||||
|
|
||||||
<slot name="spinner">
|
<slot name="spinner">
|
||||||
<div class="spinner" v-show="mutableLoading">{{ loadingText }}</div>
|
<div class="spinner" v-show="mutableLoading">Loading...</div>
|
||||||
</slot>
|
</slot>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -310,7 +310,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li v-if="!filteredOptions.length" class="no-options">
|
<li v-if="!filteredOptions.length" class="no-options">
|
||||||
<slot name="no-options">{{ noMatchText }}</slot>
|
<slot name="no-options">Sorry, no matching options.</slot>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</transition>
|
</transition>
|
||||||
@@ -387,24 +387,6 @@
|
|||||||
default: ''
|
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
|
* Sets a Vue transition property on the `.dropdown-menu`. vue-select
|
||||||
* does not include CSS for transitions, you'll need to add them yourself.
|
* does not include CSS for transitions, you'll need to add them yourself.
|
||||||
|
|||||||
Reference in New Issue
Block a user