Comments (10)
Working on to resolve this issue.
from angular.
I have the same issue
from angular.
@manishkumar-tudip is there an ETA for a fix?
Thanks.
from angular.
This should be resolved.
from angular.
when use import {FormioModule} from 'ng2-formio' the build process throw now the error:
ERROR in FormioModule is not an NgModule
Import from src/index works
from angular.
@travist I'm seeing this same issue Uncaught Error: Unexpected value 'FormioModule' imported by the module 'AppModule'
presenting in the current tag 1.0.0-rc.1. I have also tried importing from ng2-formio/dist/index
, and I get the same issue. Should I open a new issue, or is there some trick to getting it to work now? Thanks!
from angular.
I am releasing a new version tonight with a fix. Thanks for reporting it.
from angular.
@travist Thanks for fixing (I think, I haven't yet gotten it to work). I've had a few hours trying to upgrade my project to NG4 dependencies. Is ng2-formio now reliant on NG4, or is there a way to keep on NG2 (e.g. ng2-formio could work with NG 2.x+ or 4.x)? I'm trying not to upgrade my project just yet as certain packages like angularfire2 are still at 'rc0' stage and require code updates.
from angular.
This should work for both Angular 2 or Angular 4. I wasn't sure how to make the package.json allow for either one, so let me know if you know of a way to do that. I have tested it in both Angular 2 and Angular 4 and it works for both.
from angular.
I see in https://docs.npmjs.com/files/package.json, you can use the "||" operator, e.g. range1 || range2
. I have seen this before for Angular, but I can't find a good example off the cuff.
from angular.
Related Issues (20)
- [Question] - How to create formio module as a Angular Library? HOT 2
- [Custom Components] Problem with advanced logic HOT 1
- Loading gear always visible even after successful form loading
- How to remove individual options (such as Display/Label Position or Data/Persistent). HOT 1
- Flickering occurs for the field if there is a JavaScript logic for that (even if you clicked any other field) HOT 3
- Intercepting Drag&Drop event
- Angular 17 and FormIO runtime error HOT 3
- [Custom Components] Ability to optionally select multiple values in Custom Component HOT 4
- [Question] how to disable to set the defaultValue to all the questions?
- [Custom Components] Custom Components View only mode. HOT 2
- [Issue] Submit event is not firing in Form IO HOT 2
- Template is not exported from package
- [Custom Components] HOT 1
- Using with Angular Material
- [Question] How to add event or call function on button click and remove data from key and value in formio
- How to add new button in any tab on drag field and listen in component ? [Custom Components] HOT 2
- [Question] Install formio but say conflicts between different versions of zone.js
- [BUG] Unable to refresh the screen after making form read-only after submit the form. HOT 1
- [BUG] Formio throws error while running SSR build HOT 1
- How to add a Custom Component. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular.