We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7d64e7 commit d3aa040Copy full SHA for d3aa040
src/components/FormKitDataEdit.vue
@@ -36,11 +36,15 @@ const props = defineProps({
36
type: String,
37
default: 'Cancel',
38
},
39
+ formClass: {
40
+ type: String,
41
+ default: '',
42
+ },
43
actionsClass: {
44
45
default: '',
46
- formClass: {
47
+ buttonClass: {
48
49
50
@@ -74,7 +78,7 @@ function handleSave() {
74
78
<FormKitMessages class="p-formkit-data-edit-messages" />
75
79
</template>
76
80
<template #submit>
77
- <Button type="submit" :label="submitLabel" @submit="handleSave" />
81
+ <Button type="submit" :label="submitLabel" :class="buttonClass" @submit="handleSave" />
82
83
</FormKit>
84
<FormKitDebug v-if="debugData" :data="formData" header="Data" />
0 commit comments