https://github.com/json-schema-form/angular-schema-form-material
Angular Material decorator for Angular Schema Form
https://github.com/json-schema-form/angular-schema-form-material
angular-schema-form json-schema json-schema-form json-ui-schema material-design
Last synced: about 18 hours ago
JSON representation
Angular Material decorator for Angular Schema Form
- Host: GitHub
- URL: https://github.com/json-schema-form/angular-schema-form-material
- Owner: json-schema-form
- License: mit
- Created: 2015-05-18T11:36:25.000Z (almost 10 years ago)
- Default Branch: develop
- Last Pushed: 2020-04-13T15:07:17.000Z (about 5 years ago)
- Last Synced: 2025-05-07T08:57:43.644Z (about 18 hours ago)
- Topics: angular-schema-form, json-schema, json-schema-form, json-ui-schema, material-design
- Language: JavaScript
- Size: 340 KB
- Stars: 52
- Watchers: 13
- Forks: 45
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
Angular Material Decorator
==========================[](https://gitter.im/json-schema-form/angular-schema-form-material?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
For https://github.com/json-schema-form/angular-schema-form
Work In Progress
----------------
Angular Material has reached 1.0.0 however I do not feel it is remotely stable yet, this decorator is progressing very cautiously until that project hits a more stable milestone. That said, I have made an early alpha available and will continue to release alpha releases as I add new features, these **are not production quality** as the name alpha implies.All this means is that it is **very** much a **work in progress**.
Testing
------------
To test clone repo and:
```
npm install
bower install
gulp minify
```Start favorite http server (http-server or puer for instance) and open
`examples/material-example.html`There is also a `gulp watch` task that minifys on change.
Known Issues
------------
* Almost nothing works if the schema uses bootstrap decorator features, it does not have array or complex keys yet and many other features are still missing or have no equivalent.
* Needs development branch of angular schema form.
* Only basic support for inputs, textarea, radios, radiobuttons, checkboxes, datepicker and tabs are implemented.
* Angular material theme only works when `$mdThemingProvider.alwaysWatchTheme(true);` is used.
* Until Angular Material hits 1.0.0 there is still chances that features may break again.Contributing
------------
Contributions are welcome! Please see [Contributing.md](CONTRIBUTING.md) for more info.Future
------
Using the new builder opens up for a lot of optimization. Primarily we can get rid of a lot of small
watches by using build helpers. For instance, slapping on a `sf-changed` directive *only* if the
form definition has an `onChange` option.Testing
-------
```
npm install -g protractor
protractor test/protractor/conf.js
```change baseurl in test/protractor/conf.js to match ur local environment.
Copyright (c) 2016 Marcel John Bennett, David Jensen