Skip to content

Commit

Permalink
fix(QSubmitButton): set loading prop default to undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanvanherwijnen committed Jul 23, 2024
1 parent acc93fe commit 78e60c4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/tidy-moles-share.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@simsustech/quasar-components": patch
---

fix(QSubmitButton): set loading prop default to undefined
3 changes: 2 additions & 1 deletion packages/components/src/ui/general/QSubmitButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ export interface Props {
}
const props = withDefaults(defineProps<Props>(), {
type: 'submit',
color: 'primary'
color: 'primary',
loading: undefined
})
const { type, isNextButton } = toRefs(props)
Expand Down

0 comments on commit 78e60c4

Please sign in to comment.