Fixed #3406 - Checkbox: inputClass and inputStyle properties does not apply correctly

pull/3509/head
Tuğçe Küçükoğlu 2023-01-09 13:27:48 +03:00
parent e8714865c0
commit 899c10bfa3
1 changed files with 1 additions and 3 deletions

View File

@ -6,8 +6,6 @@
:id="inputId"
type="checkbox"
:value="value"
:class="inputClass"
:style="inputStyle"
:name="name"
:checked="checked"
:tabindex="tabindex"
@ -21,7 +19,7 @@
v-bind="inputProps"
/>
</div>
<div ref="box" :class="['p-checkbox-box', { 'p-highlight': checked, 'p-disabled': disabled, 'p-focus': focused }]">
<div ref="box" :class="['p-checkbox-box', inputClass, { 'p-highlight': checked, 'p-disabled': disabled, 'p-focus': focused }]" :style="inputStyle">
<span :class="['p-checkbox-icon', { 'pi pi-check': checked }]"></span>
</div>
</div>