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

Cannot set the dropdown's value to an unavailable option. #9653

Closed
jp-96 opened this issue Aug 24, 2023 · 1 comment
Closed

Cannot set the dropdown's value to an unavailable option. #9653

jp-96 opened this issue Aug 24, 2023 · 1 comment

Comments

@jp-96
Copy link

jp-96 commented Aug 24, 2023

PXT Bug - FieldUserEnum

Describe the bug

Console message:

Cannot set the dropdown's value to an unavailable option.
Block type: radioMessageCode, Field name: MEMBER, Value: add1

The radio send block's dropdown item is unselected!

image

To Reproduce
Steps to reproduce the behavior:

  1. Create new project on MakeCode for micro:bit
  2. Select radio-broadcast extention
  3. radio send block
  4. See console log

Expected behavior

message1 is selected and there is no warning message.

Screenshots

image

Edit source code on JavaScript
image

When convert to Blocks, item is unselected.
image

jp-96 added a commit to jp-96/pxt that referenced this issue Aug 24, 2023
Data binding fails.
microsoft#9653

Console warning:
Cannot set the dropdown's value to an unavailable option.
Block type: radioMessageCode, Field name: MEMBER, Value: add1
jp-96 added a commit to jp-96/pxt that referenced this issue Aug 24, 2023
Data binding fails.
microsoft#9653

Console warning:
Cannot set the dropdown's value to an unavailable option.
Block type: radioMessageCode, Field name: MEMBER, Value: add1
@jp-96
Copy link
Author

jp-96 commented Aug 25, 2023

transfered:
microsoft/pxt-arcade#6037

@jp-96 jp-96 closed this as completed Aug 25, 2023
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

1 participant