Skip to content

Commit

Permalink
Modify examples
Browse files Browse the repository at this point in the history
  • Loading branch information
icebob committed May 10, 2016
1 parent 30ff08d commit ad2c359
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
4 changes: 0 additions & 4 deletions dev/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ module.exports = {
type: "select",
label: "Type",
model: "type",
multi: true,
required: true,
values: [
{ id: "personal", name: "Personal" },
Expand Down Expand Up @@ -161,7 +160,6 @@ module.exports = {
type: "dateTime",
label: "DOB",
model: "dob",
multi: true,
required: true,
placeholder: "User's birth of date",
min: moment("1900-01-01").toDate(),
Expand Down Expand Up @@ -239,7 +237,6 @@ module.exports = {
type: "select",
label: "Language",
model: "language",
multi: true,
required: true,
values: [
{ id: "en-GB", name: "English (GB)" },
Expand Down Expand Up @@ -348,7 +345,6 @@ module.exports = {
type: "select",
label: "Role",
model: "role",
multi: true,
required: true,
values: [
{ id: "admin", name: "Administrator"},
Expand Down
2 changes: 0 additions & 2 deletions examples/simple/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@ var vm = new Vue({
type: "checklist",
label: "Skills",
model: "skills",
multi: true,
required: true,
multiSelect: true,
values: [
"HTML5",
"Javascript",
Expand Down
2 changes: 1 addition & 1 deletion src/fields/fieldCheckbox.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template lang="jade">
input(type="checkbox", v-model="value", :readonly="schema.readonly", :disabled="disabled")
input(type="checkbox", v-model="value", :disabled="disabled")
</template>

<script>
Expand Down

0 comments on commit ad2c359

Please sign in to comment.