Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

[BUG] Rendering angular html template #22

Open
AndrejCoder opened this issue Dec 26, 2019 · 5 comments
Open

[BUG] Rendering angular html template #22

AndrejCoder opened this issue Dec 26, 2019 · 5 comments
Labels
bug Something isn't working

Comments

@AndrejCoder
Copy link

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 AndrejCoder added the bug Something isn't working label Dec 26, 2019
@travist
Copy link
Member

travist commented Dec 26, 2019

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"
}

@AndrejCoder
Copy link
Author

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
Copy link
Author

The problem is still relevant.

CustomComponent.ts

cc

app.component.ts

ac

Render

r

@travist
Copy link
Member

travist commented Feb 10, 2020

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 support@form.io and we can get that setup for you.

@enigmatic
Copy link

is this a duplicate of #3? I have a solution posted there

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants