Provides consistent, responsive styling and validation for forms/inputs. Build a form quickly with 1 line per input in your HTML rather than copy/paste for a label, input, validation, and styling for each input control.
http://jackrabbitsgroup.github.io/angular-forminput/
- optional
lesshat
less-flexbox
angular-autocomplete
if using the autocomplete input typeangular-multiselect
if using the multi-select input typeangular-datetimepicker
if using the datetime or date input types
See bower.json
and index.html
in the gh-pages
branch for a full list / more details
- download the files
- Bower
- add
"angular-forminput": "latest"
to yourbower.json
file then runbower install
OR runbower install angular-forminput
- add
- Bower
- include the files in your app
- forminput.min.js
- forminput.less OR forminput.min.css OR forminput.css
- include the module in angular (i.e. in
app.js
) -jackrabbitsgroup.angular-forminput
See the gh-pages
branch, files bower.json
and index.html
for a full example.
See the forminput.js
file top comments for usage examples and documentation
https://github.com/jackrabbitsgroup/angular-forminput/blob/master/forminput.js
git checkout gh-pages
- run
npm install && bower install
- write your code then run
grunt
- git commit your changes
- run
- copy over core files (.js and .css/.less for directives) to master branch
git checkout master
git checkout gh-pages forminput.js forminput.min.js forminput.less forminput.css forminput.min.css
- update README, CHANGELOG, bower.json, and do any other final polishing to prepare for publishing
- git commit changes
- git tag with the version number, i.e.
git tag v1.0.0
- create github repo and push
- [if remote does not already exist or is incorrect]
git remote add origin [github url]
git push origin master --tags
(want to push master branch first so it is the default on github)git checkout gh-pages
git push origin gh-pages
- [if remote does not already exist or is incorrect]
- (optional - ONLY FIRST TIME; otherwise pushing a new git tag to
master
branch will auto update!) register bower componentbower register angular-forminput [git repo url]