Ionic 1 frontend decorator for the Angular Schema Form (ASF) project.
This project is based heavily off the Bootstrap and Material decorator. More information on how these decorators work can be found in the ASF documentation https://github.com/json-schema-form/angular-schema-form/blob/development/docs/extending.md
This project is still a work in progress and has not reached the stable v1.0.0
. It does not yet have full support of all the default ASF form types and options.
The following list documents additional form types that are added by this project and not in the default ASF list.
toggle
- behaves the same ascheckbox
and also represented by aboolean
You can install through npm
npm install angular-schema-form-ionic
or through bower
bower install angular-schema-form-ionic
then load the ionic-decorator.min.js
file in your html. Make sure this is the only ASF decorator (i.e remember to remove the default bootstrap-decorator.min.js
).
If you have included the file properly, the decorator should automatically work.
- Ionic by default styles
fieldset
with a border and padding, which looks weird when used to wrap Ionicitem
s. We would suggest adding your own css class to allfieldset
types to fix the styling.
We will be much grateful if you help us making this project to grow up. Feel free to contribute by forking, opening issues, pull requests etc.