Skip to content

Commit

Permalink
fix(Toggle): add missing change event
Browse files Browse the repository at this point in the history
Fixes #1113
  • Loading branch information
benjamincanac committed Dec 19, 2023
1 parent fd30022 commit 4c84839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/components/forms/Toggle.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default defineComponent({
default: () => ({})
}
},
emits: ['update:modelValue'],
emits: ['update:modelValue', 'change'],
setup (props, { emit }) {
const { ui, attrs } = useUI('toggle', toRef(props, 'ui'), config)
Expand Down

1 comment on commit 4c84839

@vercel
Copy link

@vercel vercel bot commented on 4c84839 Dec 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ui – ./

ui-nuxt-js.vercel.app
ui-git-dev-nuxt-js.vercel.app
ui.nuxt.com

Please sign in to comment.