Comments (21)
I have opened a pr #92 with the update,. I hope it could be merge soon.
from angular-material.
Thanks, @albert5287, we took your PR, or rather your fork into our fork.
Regarding the building process, everything was fine with the PR, but when we wanted to use it, we had issues with angular not recognizing properties like form
property: Can't bind to 'form' since it isn't a known property of 'mat-formio'.
@travist we had to tweak the library and with that, we managed to get it running in both dev and prod env.
If someone wants more info we can provide, and we are happy to help with the official upgrade. In the meantime, we couldn't wait as we were pushed with the AOT related bugs (JS/TS decorators, etc) so we had to migrate our projects to Angular 9.
If anyone else is critical until the official v2 gets out, here it is installable solution: https://github.com/mprinc/angular-material-formio/releases/tag/1.3.5
from angular-material.
What is the status of this lib? I'm considering using it on one big project. But I tried to install it on Angular 10 and still it not working.
from angular-material.
I am aware of this issue #48 which is closed now. It is like 3-4 weeks later, so wondering what is the status?
Would be happy to pull request if you have direction on issues to fix?
from angular-material.
I probably should not have closed that issue... I am sure I was thinking that was in terms of the angular-formio library (which this library uses as a core lib) which was upgraded to Angular 9.
from angular-material.
Thanks @travist.
Yes, the hierarchy is clear to me, thanks. So you are just explaining that the angular-material-formio will be upgraded through angular-formio and we should wait for that?
Any hint on timing or community fixing if it would take it too long to wait?
from angular-material.
The angular-formio library has been updated. We just need update this library. Preferably make it reverse compatible so it can be used on 8 or 9.
from angular-material.
If the community wants to chime in to help with this it would be greatly appreciated. It is pretty far down on our internal priority list.
from angular-material.
I am trying to install angular-material-formio verision 4.6.12 in Angular 9.0.7, I have updated the angular-formio library to verison 1.18.0, however it presents me the bug mentioned by Sasha Rudan, is there any solution for my verison current Angular?
from angular-material.
We still have not upgraded this library to Angular 9. It is on our backlog, but we are still not to that point yet. We are open to any community contributions that would like to take a stab at this and submit a pull request.
from angular-material.
Could not replace this.form value while i am using service via replace this.form ,any idea is there please share me as soon as possible.
It only works statically assign value to this.form value
from angular-material.
@rspsuresh
It works well.
For example if you have component like that
<mat-formio [form]="formLayout"
You can modify formLayout object on different conditions and it will affect UI.
from angular-material.
We still have not upgraded this library to Angular 9. It is on our backlog, but we are still not to that point yet. We are open to any community contributions that would like to take a stab at this and submit a pull request.
Thanks @travist, we are considering to do the upgrade. Are there any perks regarding the upgrade process you need to share with us?
from angular-material.
is there a planing about close this issue, closing pr #92 ?
from angular-material.
Thanks, @albert5287, we took your PR, or rather your fork into our fork.
Regarding the building process, everything was fine with the PR, but when we wanted to use it, we had issues with angular not recognizing properties like
form
property:Can't bind to 'form' since it isn't a known property of 'mat-formio'.
@travist we had to tweak the library and with that, we managed to get it running in both dev and prod env.
If someone wants more info we can provide, and we are happy to help with the official upgrade. In the meantime, we couldn't wait as we were pushed with the AOT related bugs (JS/TS decorators, etc) so we had to migrate our projects to Angular 9.
If anyone else is critical until the official v2 gets out, here it is installable solution: https://github.com/mprinc/angular-material-formio/releases/tag/1.3.5
I tried to use your fork but there is an error on rendering:
ERROR NullInjectorError: R3InjectorError(PagesModule)[FormioLoader -> FormioLoader -> FormioLoader -> FormioLoader]:
from angular-material.
Hi, @stefanofalasca
It is hard for me to understand the reason for your error just based on this single line.
Few hints:
- we had to integrate
angular-formio
inside theangular-material-formio
as otherwise, it was reporting errors, so you might try to removeangular-formio
as a dependency, but I wouldn't - you might also have a wrong version of it, as some newer versions of
angular-formio
are not compatible withangular-material-formio
, so the latest working is "angular-formio": "^4.4.4", - you can also try to read (rather-internal) document on the process: https://github.com/mprinc/angular-material-formio/blob/master/upgrading-README.md
- and finally you can just use is as this, prebuilt:
"dependencies": {
"angular-formio": "^4.4.4",
"angular-material-formio": "https://github.com/mprinc/angular-material-formio/releases/download/1.3.5/angular-material-formio-1.3.5.tgz",
// ...
}
Please let me know if this helps
from angular-material.
We are going to have a developer allocated to upgrade this library very soon, but we are behind on our other backlog items. It should happen before the end of the year.
from angular-material.
@travist This is a very cool library, thank you very much, you make life a lot easier, but I can't use it with 10 angular
What is the status of this lib?
from angular-material.
We already have a pull request. #154
We just need the time to test it and get it released. We are very backed up on other releases right now, so this is just going to have to wait. It would be beneficial if everyone tested out that PR ^ to verify if it works.
from angular-material.
When I was integrating patches to make it work, I issued various problems, so I am not sure if it would be that simple to test the PR, can you issue som unofficial release that we can test from github, same as I did: #59 (comment)
from angular-material.
Still seems to be an issue binding to form like this: <mat-formio [form]="formValue" ></mat-formio>
.
Although it seems to compile, VScode just shows an error (see image below), so not sure where the issue is....
from angular-material.
Related Issues (20)
- [BUG] SyntaxError: invalid regexp group in Firefox HOT 3
- [BUG]Date/Time Component do not show value. HOT 2
- [BUG] Extra empty item at select component HOT 3
- is it possible to use file upload in angular-formio ? [BUG] HOT 1
- [BUG] conditional in wizard page produces "this.parent.viewContainer is not a function" HOT 4
- Bootstrap dependency HOT 3
- [BUG] nextPage event in wizard not working HOT 1
- [BUG] MatFormioModule is not a reference: [object Object] HOT 6
- Update to Angular 11 HOT 2
- Placeholder for search input field in the "Select Component"
- [BUG] Custom angular component shows as Unknown Component: componentId HOT 2
- angular-formio form builder don`t work with formio/angular-material HOT 2
- Address Field Not Showing Up HOT 3
- [BUG] HOT 3
- FormioModule, MatFormioModule Lazy Loading Conflict HOT 2
- [BUG] Saved valued does not retain
- Support Angular 12 HOT 4
- [BUG] Cannot set submission in Angular 11 HOT 1
- Error on build
- FormioComponent isnot export by Module
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-material.