You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+24-10Lines changed: 24 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -22,10 +22,10 @@ Schema Form uses convention over configuration, so it comes packaged with some s
22
22
23
23
JSON Form
24
24
---------
25
-
Schema Form is inspired by the nice [JSON Form](https://github.com/joshfire/jsonform) library and aims to be roughly compatible with it, especially its form definition. So what sets Schema Form apart from JSON Form?
25
+
Schema Form is inspired by the nice [JSON Form](https://github.com/joshfire/jsonform) library and aims to be roughly compatible with it, especially its form definition. So what sets Schema Form apart from JSON Form?
26
26
27
-
1. Schema Form integrates deeply with AngularJS and uses AngularJS conventions to handle forms.
28
-
2. Schema Form uses [tv4](https://github.com/geraintluff/tv4) for validation, making it compatible with version 4 of the JSON schema standard.
27
+
1. Schema Form integrates deeply with AngularJS and uses AngularJS conventions to handle forms.
28
+
2. Schema Form uses [tv4](https://github.com/geraintluff/tv4) for validation, making it compatible with version 4 of the JSON schema standard.
29
29
3. By default, Schema Form generates Bootstrap 3-friendly HTML.
30
30
31
31
@@ -79,27 +79,41 @@ Installation
79
79
80
80
### Bower
81
81
82
-
It's simplest to install Schema Form using [Bower](http://bower.io/) since it will come packaged with all of its dependencies.
82
+
It's simplest to install Schema Form using [Bower](http://bower.io/).
83
83
84
84
```bash
85
85
bower install angular-schema-form
86
86
```
87
87
88
+
This will install the latest release and basic dependencies. See
89
+
[dependecies section below](#dependencies).
90
+
88
91
### Manual
89
92
90
93
You can also just download the contents of the `dist/` folder and add dependencies manually.
91
94
92
95
### Dependencies
93
96
97
+
Schema form has a lot of dependencies, most of which are optional. Therefor
98
+
94
99
Schema Form depends on:
95
100
96
-
1.[AngularJS](https://angularjs.org/) (duh!)
101
+
1.[AngularJS](https://angularjs.org/) version 1.3.x is recomended. Version 1.2.x
102
+
has some limitation. See [known limitations](docs/knownlimitations.md).
5. If you want to use the date picker, you'll also need [jQuery](https://github.com/jquery/jquery) and [pickadate.js](http://amsul.ca/pickadate.js/)
101
-
7. If you'd like to use drag-and-drop reordering of arrays, you'll also need [ui-sortable](https://github.com/angular-ui/ui-sortable) and its [jQueryUI](http://jqueryui.com/) dependencies. See the *ui-sortable* documentation for details about which parts of jQueryUI are needed. You can safely ignore these if you don't need reordering.
102
-
8. Schema Form provides tabbed arrays through the form type `tabarray`. Tab arrays default to tabs on the left side. For these to work, you'll need to include the CSS from [bootstrap-vertical-tabs](https://github.com/dbtek/bootstrap-vertical-tabs). However, you won't need Bootstrap Vertical Tabs for horizontal tabs (the `tabType: "top"` option).
If you install via bower you get all of the above except bootstrap since we
109
+
don't want to push a certain version or flavor on you. Also make
110
+
sure you got the angular version you actually want.
111
+
112
+
#### Additional dependecies
113
+
114
+
1. If you want to use the date picker, you'll also need [jQuery](https://github.com/jquery/jquery) and [pickadate.js](http://amsul.ca/pickadate.js/)
115
+
2. If you'd like to use drag-and-drop reordering of arrays, you'll also need [ui-sortable](https://github.com/angular-ui/ui-sortable) and its [jQueryUI](http://jqueryui.com/) dependencies. See the *ui-sortable* documentation for details about which parts of jQueryUI are needed. You can safely ignore these if you don't need reordering.
116
+
3. Schema Form provides tabbed arrays through the form type `tabarray`. Tab arrays default to tabs on the left side. For these to work, you'll need to include the CSS from [bootstrap-vertical-tabs](https://github.com/dbtek/bootstrap-vertical-tabs). However, you won't need Bootstrap Vertical Tabs for horizontal tabs (the `tabType: "top"` option).
103
117
104
118
The minified files include templates - no need to load additional HTML files.
0 commit comments