small ui fixes

This commit is contained in:
2023-06-06 22:27:00 +02:00
parent a617758459
commit 2c830c61ea
3 changed files with 10 additions and 5 deletions

View File

@@ -28,7 +28,7 @@ const styleClass = computed(() => {
type="checkbox"
class="dui-checkbox dui-checkbox-sm border-secondary"
:class="styleClass"
:checked="props.modelValue"
:checked="props.modelValue || props.checked"
@change="emit('update:modelValue', ($event.target as HTMLInputElement).checked)"
:disabled="props.disabled"
/>