textdropdown
Bug Template
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- Go to 'https://makecode.com/playground#field-editors-dropdowns'
- Change the word.fieldOptions.values to the correct code: Line 24: //% word.fieldOptions.values='[["hi"],["hello"]"'
According to https://github.com/microsoft/pxt/blob/master/docs/defining-blocks.md line 823) : fieldOptions.values - a list of simple values to select from, like: vehicles.fieldOptions.values='[["truck"], ["airplane"], ["cruise ship"]]'
- Click on 'run' (I hope it is called run, in german it is called "Ausführen")
- Add block to "on start"
- Click on dropdown
Expected behavior I would expect each word do be there, but only each character is there. Moreover an error is thrown stating "Cannot find name "hello"".
Screenshots
Desktop (please complete the following information):
- OS: Win11
- Browser: Firefox (113.0.2), Edge
@kimprice @thsparks @jwunderl
I noticed this bug when I was working on the playground. It's already been filed: https://github.com/microsoft/pxt/issues/9192