Skip to content

Commit

Permalink
fix: buttonText instead of caption
Browse files Browse the repository at this point in the history
  • Loading branch information
Lionel Bijaoui committed Aug 29, 2016
1 parent f4f1f18 commit d4b25a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dev/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/fields/fieldSubmit.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template lang="jade">
input(type="submit", :value="schema.caption", @click="click")
input(type="submit", :value="schema.buttonText", @click="click")
</template>

<script>
Expand Down

0 comments on commit d4b25a9

Please sign in to comment.