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