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

textdropdown #9548

Open
OffByOne37 opened this issue Jun 8, 2023 · 2 comments
Open

textdropdown #9548

OffByOne37 opened this issue Jun 8, 2023 · 2 comments

Comments

@OffByOne37
Copy link
Contributor

Bug Template

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://makecode.com/playground#field-editors-dropdowns'
  2. 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"]]'

  1. Click on 'run' (I hope it is called run, in german it is called "Ausführen")
  2. Add block to "on start"
  3. 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
grafik

Desktop (please complete the following information):

  • OS: Win11
  • Browser: Firefox (113.0.2), Edge
@abchatra
Copy link
Contributor

@kimprice @thsparks @jwunderl

@kimprice
Copy link
Member

I noticed this bug when I was working on the playground. It's already been filed: #9192

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants