Checkbox toggle state fix

pull/4683/head
Tuğçe Küçükoğlu 2023-10-23 12:25:27 +03:00
parent 1170d152bc
commit be7642f446
1 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
<p>Invalid state style is added using the <i>p-invalid</i> class to indicate a failed validation.</p>
</DocSectionText>
<div class="card flex justify-content-center">
<Checkbox v-model="checked" class="p-invalid" />
<Checkbox v-model="checked" class="p-invalid" binary />
</div>
<DocSectionCode :code="code" />
</template>
@ -15,12 +15,12 @@ export default {
checked: false,
code: {
basic: `
<Checkbox v-model="checked" class="p-invalid" />
<Checkbox v-model="checked" class="p-invalid" binary />
`,
options: `
<template>
<div class="card flex justify-content-center">
<Checkbox v-model="checked" class="p-invalid" />
<Checkbox v-model="checked" class="p-invalid" binary />
</div>
</template>
@ -37,7 +37,7 @@ export default {
composition: `
<template>
<div class="card flex justify-content-center">
<Checkbox v-model="checked" class="p-invalid" />
<Checkbox v-model="checked" class="p-invalid" binary />
</div>
</template>