- Popup listesi düzenlendi

This commit is contained in:
Kevser
2025-07-21 14:20:18 +03:00
parent 2aee11cf9a
commit 016c0b09d4
3 changed files with 27 additions and 17 deletions

View File

@ -6,7 +6,9 @@
{{ title }}
<i v-if="required" class="form-item-alert">*</i>
</span>
<label :class="['label-radio', disabled ? 'disabled' : '']" v-for="(item, i) in listData">
<label
:class="['label-radio', disabled ? 'disabled' : '']"
v-for="(item, i) in listData">
<input
type="checkbox"
v-model="localValue"
@ -72,7 +74,7 @@
val?: number | string | boolean
label?: string
disabled?: boolean
modelValue: (string | number)[] | boolean | string | number | null
modelValue: (string | number)[] | boolean | string | number | null | undefined
half?: boolean
title?: string
invalidText?: string
@ -89,7 +91,7 @@
const emit = defineEmits(['update:modelValue', 'change', 'click'])
const localValue = ref<(string | number)[] | boolean | null | string | number>(
const localValue = ref<(string | number)[] | boolean | null | string | number|undefined>(
props.modelValue
)