fix : bug v-select

This commit is contained in:
zeinab.ashrafi
2025-04-27 11:29:53 +03:30
parent 4c02d2fd98
commit 6276d37ece
3 changed files with 16 additions and 33 deletions
+1 -2
View File
@@ -68,8 +68,7 @@
<v-flex xs12>
<hr class="v-divider theme--light"/>
</v-flex>
<v-layout row wrap class="">
<!-- <LightBox :media="data.images.map(img => ({thumb: img.path, src: img.path}))" style="width: 20%"></LightBox> -->
<v-layout row wrap class="align-center">
<v-flex xs6 md2 sm2 v-for="(file, key) in data.files" :key="key">
<template v-if="file.file_type == 'document'">
<a target="_blank" :href="'/'+file.thumbnail">
+1 -3
View File
@@ -117,8 +117,7 @@
<v-flex xs12>
<hr class="v-divider theme--light"/>
</v-flex>
<v-layout row wrap class="ml-4">
<!-- <LightBox :media="data.images.map(img => ({thumb: img.path, src: img.path}))" style="width: 20%"></LightBox> -->
<v-layout row wrap class="ml-4 align-center">
<v-flex xs6 md2 sm2 v-for="(file, key) in data.files" :key="key">
<template v-if="file.file_type == 'document'">
<a target="_blank" :href="'/'+file.thumbnail">
@@ -192,7 +191,6 @@
import {mapGetters, mapMutations} from "vuex";
import {ApiService} from "@/services";
import {urls} from "@/config/urls";
import toast from "@/services/global/toast.service";
import VueImageLightbox from 'vue-image-lightbox'
import 'vue-image-lightbox/dist/vue-image-lightbox.min.css'
export default {
+3 -17
View File
@@ -148,20 +148,7 @@
<h3 class="WM-BorderLeftTitle">{{ item.name }}</h3>
</v-layout>
<v-layout row wrap>
<v-app>
<v-container>
<v-select
multiple
:items="[{ id: 1, title: 'Option 1' }, { id: 2, title: 'Option 2' }]"
v-model="selected"
label="Select something"
item-text="title"
item-value="id"
/>
</v-container>
</v-app>
<!-- <v-container fluid class="WM-Padding-LR-0">
<v-container fluid class="WM-Padding-LR-0">
<v-flex xs12>
<v-select
multiple
@@ -172,11 +159,10 @@
color="black"
item-text="title"
item-value="id"
:menu-props="{ closeOnContentClick: false }"
/>
</v-flex>
</v-container>-->
</v-container>
</v-layout>
</v-container>
<v-container row md-12 sm-12 xs-12 class="pa-0" v-if="item.type == 'Checkbox'">