Skip to content

Summary page does not display individually configured form name #1255

Description

@jenbutongit

Describe the bug

When the name property is set in the json, it should change the cookie banner and title to the configured name. This happens on all form pages except for the summary page.

To Reproduce
Steps to reproduce the behavior:

  1. Add "name": "Testing" to a form json
  2. See that question pages has "cookies on Testing" in the cookie banner, and "Testing" in the menu banner
  3. Continue to the summary page
  4. See that the summary page does not display the right name in the cookie banner or title

Expected behaviour

The configured name should be displayed on summary pages.

Screenshots
Currently:
image

However it should look like:
image

Repository

  • Runner

Additional context
The SummaryViewModel is not setting this.name = model.name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions