Refactor #3922: TriStateCheckbox PT Options typo
parent
270186ca6c
commit
cb37100228
|
@ -33,7 +33,7 @@ export interface TriStateCheckboxPassThroughOptions {
|
|||
/**
|
||||
* Uses to pass attributes to the checkbox box's DOM element.
|
||||
*/
|
||||
checbox?: TriStateCheckboxPassThroughOptionType;
|
||||
checkbox?: TriStateCheckboxPassThroughOptionType;
|
||||
/**
|
||||
* Uses to pass attributes to the check icon's DOM element.
|
||||
*/
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
/>
|
||||
</div>
|
||||
<span class="p-sr-only" aria-live="polite" v-bind="ptm('srOnlyAria')">{{ ariaValueLabel }}</span>
|
||||
<div ref="box" :class="['p-checkbox-box', { 'p-highlight': modelValue != null, 'p-disabled': disabled, 'p-focus': focused }]" v-bind="getPTOptions('checbox')">
|
||||
<div ref="box" :class="['p-checkbox-box', { 'p-highlight': modelValue != null, 'p-disabled': disabled, 'p-focus': focused }]" v-bind="getPTOptions('checkbox')">
|
||||
<slot v-if="modelValue === true" name="checkicon">
|
||||
<component :is="'CheckIcon'" class="p-checkbox-icon" v-bind="ptm('checkIcon')" />
|
||||
</slot>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<TriStateCheckbox
|
||||
v-model="value"
|
||||
:pt="{
|
||||
checbox: {
|
||||
checkbox: {
|
||||
class: value ? 'bg-teal-500 border-white' : undefined
|
||||
}
|
||||
}"
|
||||
|
@ -24,7 +24,7 @@ export default {
|
|||
<TriStateCheckbox
|
||||
v-model="value"
|
||||
:pt="{
|
||||
checbox: {
|
||||
checkbox: {
|
||||
class: value ? 'bg-teal-500 border-white' : undefined
|
||||
}
|
||||
}"
|
||||
|
@ -35,7 +35,7 @@ export default {
|
|||
<TriStateCheckbox
|
||||
v-model="value"
|
||||
:pt="{
|
||||
checbox: {
|
||||
checkbox: {
|
||||
class: value ? 'bg-teal-500 border-white' : undefined
|
||||
}
|
||||
}"
|
||||
|
@ -59,7 +59,7 @@ export default {
|
|||
<TriStateCheckbox
|
||||
v-model="value"
|
||||
:pt="{
|
||||
checbox: {
|
||||
checkbox: {
|
||||
class: value ? 'bg-teal-500 border-white' : undefined
|
||||
}
|
||||
}"
|
||||
|
|
Loading…
Reference in New Issue