Skip to content

Bolt Fixtures create a selected option which doesnt exist #2901

@Joossensei

Description

@Joossensei

Ive recently discovered that the data fixtures create some undefined values to be selected in the select fields of the Showcases.

When you go to one of the Showcases to edit this you get an console error that the properties of key are undefined this is because the Select field, Multiselect and Select Entry under Other are "empty" they are filled with non existent data.

The default values for the select fields are these (Inside my bolt project):
Screenshot 2021-11-02 at 14 42 54

But when I console.log() the selected options it returns this:

Screenshot 2021-11-02 at 14 43 37

This all happens because neither of the default set values exist.

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