Skip to content

Commit d4b25a9

Browse files
author
Lionel Bijaoui
committed
fix: buttonText instead of caption
1 parent f4f1f18 commit d4b25a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dev/schema.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ module.exports = {
593593
}/*, {
594594
type: "submit",
595595
label: "",
596-
caption: "Submit form",
596+
buttonText: "Submit form",
597597
validateBeforeSubmit: true,
598598
onSubmit(model, schema) {
599599
console.log("Form submitted!", model);

src/fields/fieldSubmit.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template lang="jade">
2-
input(type="submit", :value="schema.caption", @click="click")
2+
input(type="submit", :value="schema.buttonText", @click="click")
33
</template>
44

55
<script>

0 commit comments

Comments
 (0)