Fixed #3406 - Checkbox: inputClass and inputStyle properties does not apply correctly
parent
e8714865c0
commit
899c10bfa3
|
@ -6,8 +6,6 @@
|
||||||
:id="inputId"
|
:id="inputId"
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
:value="value"
|
:value="value"
|
||||||
:class="inputClass"
|
|
||||||
:style="inputStyle"
|
|
||||||
:name="name"
|
:name="name"
|
||||||
:checked="checked"
|
:checked="checked"
|
||||||
:tabindex="tabindex"
|
:tabindex="tabindex"
|
||||||
|
@ -21,7 +19,7 @@
|
||||||
v-bind="inputProps"
|
v-bind="inputProps"
|
||||||
/>
|
/>
|
||||||
</div>
|
</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>
|
<span :class="['p-checkbox-icon', { 'pi pi-check': checked }]"></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue