webcake-ui-kit 1.1.15 → 1.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -56,6 +56,9 @@
|
|
|
56
56
|
@click.stop="openIfClosed"
|
|
57
57
|
@keydown.stop="onSearchKeydown"
|
|
58
58
|
/>
|
|
59
|
+
<span v-else-if="!selectedItems.length" class="ui-select__value ui-select__value--placeholder">{{
|
|
60
|
+
placeholder
|
|
61
|
+
}}</span>
|
|
59
62
|
</span>
|
|
60
63
|
<input
|
|
61
64
|
v-else-if="isSearchable"
|
|
@@ -252,6 +255,7 @@ export default {
|
|
|
252
255
|
var vals = Object.keys(this.slotOptionVisible)
|
|
253
256
|
if (vals.length > 0 && vals.every(v => !this.slotOptionVisible[v])) return true
|
|
254
257
|
}
|
|
258
|
+
if (this.normalizedOptions.length === 0 && Object.keys(this.slotOptionVisible).length === 0) return true
|
|
255
259
|
return false
|
|
256
260
|
},
|
|
257
261
|
hasIconSlot() {
|