Skip to content

Commit

Permalink
fix(Components): CheckBoxes should listen to change events
Browse files Browse the repository at this point in the history
  • Loading branch information
sfxcode committed Jan 24, 2024
1 parent 4575dd4 commit 45d830a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sfxcode/formkit-primevue",
"version": "1.6.3",
"version": "1.6.4",
"type": "module",
"license": "MIT",
"repository": "https://github.com/sfxcode/formkit-primevue",
Expand Down
2 changes: 1 addition & 1 deletion src/formkit/PrimeCheckbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const styleClass = computed(() => (context?.state.validationVisible && !context?
:pt="attrs.pt"
:pt-options="attrs.ptOptions"
:unstyled="attrs.unstyled ?? false"
@input="handleInput"
@change="handleInput"
/>
<span v-if="context.attrs.labelRight" class="formkit-prime-right">{{ context.attrs.labelRight }}</span>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/formkit/PrimeInputSwitch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const styleClass = computed(() => (context?.state.validationVisible && !context?
:pt="attrs.pt"
:pt-options="attrs.ptOptions"
:unstyled="attrs.unstyled ?? false"
@input="handleInput"
@change="handleInput"
/>
<span v-if="context.attrs.labelRight" class="formkit-prime-right">{{ context.attrs.labelRight }}</span>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/formkit/PrimeTriStateCheckbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const styleClass = computed(() => (context?.state.validationVisible && !context?
:pt="attrs.pt"
:pt-options="attrs.ptOptions"
:unstyled="attrs.unstyled ?? false"
@click="handleChange"
@change="handleChange"
/>
<span v-if="context.attrs.labelRight" class="formkit-prime-right">{{ context.attrs.labelRight }}</span>
</div>
Expand Down

0 comments on commit 45d830a

Please sign in to comment.