Skip to content

Commit

Permalink
fix: prevent passing rules
Browse files Browse the repository at this point in the history
  • Loading branch information
cafadev committed Sep 24, 2024
1 parent 071dfe4 commit 219c6fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/wrapper-quasar/src/form/WqColor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const state = reactive({
})
const attributes = computed(() => {
const { wrapper, modelValue, hint, errorMessage, type, class: _class, ...field } = props.field
return { ...wrapper, ...field } as any
const { wrapper, modelValue, hint, errorMessage, rules, error, type, class: _class, ...field } = props.field
return { ...wrapper, ...field }
})
</script>

0 comments on commit 219c6fb

Please sign in to comment.