Skip to content

[BUG] Issue rendering Submission View #1154

@lucasbode

Description

@lucasbode

I am trying to render the submission view via the angular <formio /> component similar to the feature mentioned here - https://formio.github.io/formio.js/app/examples/htmlview.html

I believe I am setting the properties correctly...

<formio 
      [form]="form" 
      [submission]="submission"
      [readOnly]="true"
      [viewOnly]="true"
      >
</formio>

But it doesn't seem to render correctly for most of the component types. It's just an empty space compared to rendering the same form/submission json.

Image

I put together a stackblitz that shows the rendering of the angular component and the native JS form.io side by side - https://stackblitz.com/edit/stackblitz-starters-vx9kw5ma?file=src%2Fmain.ts

Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions