Error when providing options - "values is not defined"
Closed this issue · 3 comments
reaganchisholm commented
Describe the bug
ReferenceError: values is not defined - You may find more context in console.
To Reproduce
- Add options to input to convert it to select field type
export const inputs = {
color: {
type: "number",
default: 1,
options: [1, 5, 10],
},
// ...
}
Expected behavior
Select dropdown should be provided with options without rendering error.
Desktop
- Windows
- Chrome
- 2.0.0-beta.1
Additional context
I tested this out on version 1.2.0
and it works as expected so it seems related to most recent 2.0.0-beta
release.
fdoflorenzano commented
Thanks for this! We'll try to fix it as soon as possible.
fdoflorenzano commented
Hey @reaganchisholm! We just released v2.0.0-beta.2
, and I think you'll find that the mentioned bug doesn't occur anymore.
reaganchisholm commented
Working as expected now, thanks!