Skip to content

Commit

Permalink
set save button disabled when tag name is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
mayswind committed Feb 7, 2025
1 parent 373d71c commit eb178e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/mobile/TransactionTagSelectionSheet.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
</div>
</template>
<template #after>
<f7-button class="no-padding"
<f7-button :class="{ 'no-padding': true, 'disabled': !newTag || !newTag.name }"
raised fill
icon-f7="checkmark_alt"
color="blue"
Expand Down

0 comments on commit eb178e7

Please sign in to comment.