frappe/frappe-ui

`fields` prop is not wired in ConfirmDialog

Closed this issue · 1 comments

<template>
<Dialog v-model="showDialog" :options="{ title }">
<template #body-content>
<div class="space-y-4">
<p class="text-p-base text-gray-800" v-if="message" v-html="message" />
</div>
</template>
<template #actions>
<Button class="w-full" v-bind="primaryActionProps" />
</template>
</Dialog>
</template>
<script>
import Dialog from './Dialog.vue'
export default {
name: 'ConfirmDialog',
props: ['title', 'message', 'fields', 'onConfirm'],

Remove it? Keep & wire it? Doesn't make sense to add fields in a confirm dialog anyway. This can be removed.

Remove it, this isn't used anywhere