Skip to content

CfbFormEditor question default component choice question error on question edges format #2926

@nlzet

Description

@nlzet

In my project updating caluma/ember-caluma on the latest version the component <CfbFormEditor::Question::Default> breaks on this line https://github.com/projectcaluma/ember-caluma/blob/main/packages/form-builder/addon/components/cfb-form-editor/question/default.js#L47 because raw.options is not an array, it is already an object containing the edges.

Got a POC that works with both formats: nlzet@16c1f6d
But haven't figured out yet why or what is causing this error, the gql response seems the same before and after.

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