angular-material icon indicating copy to clipboard operation
angular-material copied to clipboard

[BUG] Rendering angular html template

Open AndrejCoder opened this issue 5 years ago • 5 comments

Hello, dear developers. I create custom angular material component - Panel. Add angular decorator with template. But this template dont rendered. Rendered standard html from Panel component.

Code:

code

Render:

html

AndrejCoder avatar Dec 26 '19 11:12 AndrejCoder

In your form that is being rendered... what is the "type" of the component? This would only work if you were rendering a component with a type of "custom-panel" like this...

{
  "type": "custom-panel"
}

instead of this...

{
   "type": "panel"
}

travist avatar Dec 26 '19 15:12 travist

Of course I use { "type": "custom-panel" }

I work with your demo project and refactor it. If you try it too, you take wrong result too...

AndrejCoder avatar Dec 26 '19 16:12 AndrejCoder

The problem is still relevant.

CustomComponent.ts

cc

app.component.ts

ac

Render

r

AndrejCoder avatar Feb 04 '20 09:02 AndrejCoder

I do not know off the top of my head. This would need to be assigned to a developer to investigate, and from the looks of it is not a high priority item. If you would like to pay to expedite resolution, then please send a message to [email protected] and we can get that setup for you.

travist avatar Feb 10 '20 14:02 travist

is this a duplicate of https://github.com/formio/angular-material-formio/issues/3? I have a solution posted there

enigmatic avatar May 12 '20 22:05 enigmatic