Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/icebob/master' into file_u…
Browse files Browse the repository at this point in the history
…pload
  • Loading branch information
hansi90 committed Oct 17, 2017
2 parents 5099907 + f29748a commit 4a57609
Show file tree
Hide file tree
Showing 35 changed files with 10,088 additions and 169 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ module.exports = {
"rules": {
"indent": [
"warn",
"tab"
"tab",
{ SwitchCase: 1 }
],
"quotes": [
"warn",
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,16 @@ If you don't know what to choose, don't worry, the full is the default version.
If you want the slim down version, here is the changes:

```js
// the "full" way
<script>
import VueFormGenerator from "vue-form-generator";
import "vue-form-generator/dist/vfg.css"; // optional full css additions
</script>

// the "core" way
<script>
import VueFormGenerator from "vue-form-generator/dist/vfg-core.js";
import "vue-form-generator/dist/vfg-core.css";
import "vue-form-generator/dist/vfg-core.css"; // optional core css additions
</script>
```

Expand Down
1 change: 1 addition & 0 deletions dev/checklist/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default {
label: "Skills",
model: "skills",
required: true,
inputName:"skill",
min: 2,
listBox: true,
values: ["HTML5", "Javascript", "CSS3", "CoffeeScript", "AngularJS", "ReactJS", "VueJS"],
Expand Down
116 changes: 60 additions & 56 deletions dev/full/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ module.exports = {
required: true,
hint: "Minimum 6 characters",
styleClasses: "half-width",
validator: validators.string.locale({
validator: validators.string.locale({
fieldIsRequired: "The password is required!",
textTooSmall: "Password must be at least {1} characters!"
})
Expand Down Expand Up @@ -210,60 +210,60 @@ module.exports = {
model: "",
styleClasses: "alert alert-info"
}, {
type: "checklist",
label: "CHECKLIST combobox",
model: "checklistcombobox",
listBox: false,
values: [{
name: "HTML5",
value: "HTML5-123"
}, {
name: "Javascript",
value: "Javascript-123"
}, {
name: "CSS3",
value: "CSS3-123"
}, {
name: "CoffeeScript",
value: "CoffeeScript-123"
}, {
name: "AngularJS",
value: "AngularJS-123"
}, {
name: "ReactJS",
value: "ReactJS-123"
}, {
name: "VueJS",
value: "VueJS-123"
}],
}, {
type: "checklist",
label: "CHECKLIST listBox",
model: "checklistlistbox",
listBox: true,
values: [{
name: "HTML5",
value: "HTML5-123"
}, {
name: "Javascript",
value: "Javascript-123"
}, {
name: "CSS3",
value: "CSS3-123"
}, {
name: "CoffeeScript",
value: "CoffeeScript-123"
}, {
name: "AngularJS",
value: "AngularJS-123"
}, {
name: "ReactJS",
value: "ReactJS-123"
}, {
name: "VueJS",
value: "VueJS-123"
}],
}, {
type: "checklist",
label: "CHECKLIST combobox",
model: "checklistcombobox",
listBox: false,
values: [{
name: "HTML5",
value: "HTML5-123"
}, {
name: "Javascript",
value: "Javascript-123"
}, {
name: "CSS3",
value: "CSS3-123"
}, {
name: "CoffeeScript",
value: "CoffeeScript-123"
}, {
name: "AngularJS",
value: "AngularJS-123"
}, {
name: "ReactJS",
value: "ReactJS-123"
}, {
name: "VueJS",
value: "VueJS-123"
}],
}, {
type: "checklist",
label: "CHECKLIST listBox",
model: "checklistlistbox",
listBox: true,
values: [{
name: "HTML5",
value: "HTML5-123"
}, {
name: "Javascript",
value: "Javascript-123"
}, {
name: "CSS3",
value: "CSS3-123"
}, {
name: "CoffeeScript",
value: "CoffeeScript-123"
}, {
name: "AngularJS",
value: "AngularJS-123"
}, {
name: "ReactJS",
value: "ReactJS-123"
}, {
name: "VueJS",
value: "VueJS-123"
}],
}, {
type: "radios",
label: "RADIOS",
model: "radios",
Expand Down Expand Up @@ -319,7 +319,11 @@ module.exports = {
type: "textArea",
label: "Biography (textArea field)",
model: "bio",
hint: "Max 500 characters",
hint(model) {
if (model && model.bio) {
return model.bio.length + " of max 500 characters used!";
}
},
max: 500,
placeholder: "User's biography",
rows: 4,
Expand Down
2 changes: 1 addition & 1 deletion dist/vfg-core.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions dist/vfg-core.js

Large diffs are not rendered by default.

Loading

0 comments on commit 4a57609

Please sign in to comment.