Make the input full width by default

This commit is contained in:
kolaente 2021-01-14 21:56:28 +01:00
parent e5ce9e619d
commit 6db151d57a
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -4,7 +4,7 @@
:class="{'has-search-results': searchResultsVisible}" :class="{'has-search-results': searchResultsVisible}"
ref="multiselectRoot" ref="multiselectRoot"
> >
<div class="input-wrapper input" :class="{'has-multiple': multiple}"> <div class="input-wrapper input" :class="{'has-multiple': multiple && Array.isArray(internalValue) && internalValue.length > 0}">
<template v-if="Array.isArray(internalValue)"> <template v-if="Array.isArray(internalValue)">
<template v-for="(item, key) in internalValue"> <template v-for="(item, key) in internalValue">
<slot name="tag" :item="item"> <slot name="tag" :item="item">