From d4b25a943f8e22d69151757e4b3ca0d833d4556f Mon Sep 17 00:00:00 2001 From: Lionel Bijaoui Date: Mon, 29 Aug 2016 14:54:36 +0200 Subject: [PATCH] fix: buttonText instead of caption --- dev/schema.js | 2 +- src/fields/fieldSubmit.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/schema.js b/dev/schema.js index f36a110c..c4207fd8 100644 --- a/dev/schema.js +++ b/dev/schema.js @@ -593,7 +593,7 @@ module.exports = { }/*, { type: "submit", label: "", - caption: "Submit form", + buttonText: "Submit form", validateBeforeSubmit: true, onSubmit(model, schema) { console.log("Form submitted!", model); diff --git a/src/fields/fieldSubmit.vue b/src/fields/fieldSubmit.vue index 2033d4ec..f9e050f0 100644 --- a/src/fields/fieldSubmit.vue +++ b/src/fields/fieldSubmit.vue @@ -1,5 +1,5 @@