Skip to content

Commit

Permalink
make cancel button type of button
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonvarga committed Sep 9, 2024
1 parent 62195e9 commit 0813e73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/components/modals/ConfirmationModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</slot>
</div>
<div class="px-5 py-3 bg-gray-200 dark:bg-dark-550 rounded-b-lg border-t dark:border-dark-900 flex items-center justify-end text-sm">
<button class="btn-flat" @click.prevent="$emit('cancel')" v-text="__(cancelText)" v-if="cancellable" />
<button type="button" class="btn-flat" @click.prevent="$emit('cancel')" v-text="__(cancelText)" v-if="cancellable" />
<button class="rtl:mr-4 ltr:ml-4" :class="buttonClass" :disabled="disabled" v-text="__(buttonText)" />
</div>
</form>
Expand Down

0 comments on commit 0813e73

Please sign in to comment.