angular2-json-schema-form
angular2-json-schema-form copied to clipboard
Possible to run angular2-json-schema-form without the material framework?
I don't require such a large library and would rather leave this baggage behind, but I can't get anything working without installing the material framework, and all its other dependencies.
At the moment I am sticking with version:
- 1.0.0-alpha.25 for angular2-json-schema-form
- 2.0.0-beta.1 for material
Setting the framework to no-framework so the production build doesn't pull in the material library. Which works for this version, but I can't build it without the material dependency for one, and later versions have a large amount of issues with material that it would be beneficial in my opinion to make an option dependency.
Bringing in the latest versions doesn't seem to work but that's another issue with material. Just would rather get rid of material.
No, this is not possible—yet.
I know it's annoying, but unfortunately a current limitation of this library is that it requires the @angular/material
and @angular/cdk
packages be installed, even if you only want to display your form using the Bootstrap framework.
The bugs with older versions of Material Design have been fixed, so other than the unnecessary download bloat if you're using Bootstrap 3 (or no-framework), this shouldn't cause any errors.
A future version of this library will solve this problem by splitting the core library and frameworks into separate modules, so you'll be able to download only what you need.
Hi, I am unable to switch to Bootstrap. The readme is not clear enough for me. Seems to be something trivial, but what I actually managed was to make the material framework funtional :|
Can you help please? EDIT: sry, just had to add the ' ' around bootstrap [framework]="'bootstrap-3'"
All done now
@dschnelldavis
A future version of this library will solve this problem by splitting the core library and frameworks into separate modules, so you'll be able to download only what you need.
Any idea of how far off that is? Will there be support for ngbootstrap/ngx-bootstrap similar to material?
Any Update would really...really be helpful, we need the separation from Material as in yesterday.
@blacksnow88 https://github.com/boydy12/angular2-json-schema-form-core