Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,14 @@
</template>
<template #item="{ item }">
<Checkbox :key="item.id" :input-value="value" :value="item.id" class="mt-0">
<template #label>
<VTooltip bottom lazy>
<template #activator="{ on }">
<div class="text-truncate" style="width: 250px;" v-on="on">
{{ item.name }}
</div>
</template>
<span>{{ item.name }}</span>
</VTooltip>
</template>
<VTooltip bottom lazy>
<template #activator="{ on }">
<div class="text-truncate" style="width: 250px;" v-on="on">
{{ item.name }}
</div>
</template>
<span>{{ item.name }}</span>
</VTooltip>
</Checkbox>
</template>
</VAutocomplete>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,15 @@
{{ getText(item) }}
</VChip>
</template>
<template #item="{ item, tile }">
<Checkbox v-bind="tile.props" class="ma-0">
<template #label>
<span :class="{ notranslate }" :style="getEllipsisStyle()" dir="auto">
{{ getText(item) }}
</span>
</template>
</Checkbox>
<template #item="{ item }">
<KCheckbox
:checked="selections.includes(item)"
:label="getText(item)"
:value="item"
:style="getEllipsisStyle()"
:ripple="false"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There isn't a ripple prop for KCheckbox. Also, it wouldn't seem this is preserving the notranslate class?

:class="{ notranslate }"
/>
</template>
</VSelect>
</template>
Expand All @@ -38,12 +39,11 @@

<script>

import Checkbox from './Checkbox';
import DropdownWrapper from './DropdownWrapper';

export default {
name: 'MultiSelect',
components: { Checkbox, DropdownWrapper },
components: { DropdownWrapper },
// $attrs are rebound to a descendent component
inheritAttrs: false,
props: {
Expand Down