2
0
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:
meteorlxy
2017-08-30 04:39:06 +00:00
parent da811e5313
commit f3309ae708
+2 -20
View File
@@ -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.