Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bolt Fixtures create a selected option which doesnt exist #2901

Closed
Joossensei opened this issue Nov 2, 2021 · 0 comments · Fixed by #2954
Closed

Bolt Fixtures create a selected option which doesnt exist #2901

Joossensei opened this issue Nov 2, 2021 · 0 comments · Fixed by #2954
Labels
🐛 tag: bug This is a bug.

Comments

@Joossensei
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 tag: bug This is a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant