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 field editor doesn't work as expected in live and broken in beta #5695

Open
microbit-carlos opened this issue May 24, 2024 · 2 comments
Assignees

Comments

@microbit-carlos
Copy link
Collaborator

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. Ensure the Dropdowns sample is loaded in the micro:bit editor
  3. Drop the [say [hello]] block to the workspace and click the dropdown
  4. Dropdown generates an entry per letter instead of word
image 5. Change the editor to micro:bit BETA 6. Drop the [say [hello]] block to the workspace 7. Click on the "hello" dropdown 8. The click acts as if the block is being dragged and cannot be "unclicked" image

Expected behavior
The dropdown to show an entry per word.

Screenshots
N/A

micro:bit version (please complete the following information):
N/A

Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A

Additional context
N/A

@riknoll
Copy link
Member

riknoll commented Jul 10, 2024

I don't think anyone actually uses this field (we certainly don't in any of our code), so i'm tempted to just remove the references to it from the docs.

@microbit-carlos do you have a scenario where you want to use this?

@riknoll riknoll self-assigned this Jul 10, 2024
@microbit-carlos
Copy link
Collaborator Author

We were looking at a way to dynamically create block dropdown with an editor extension that takes an external input and automatically generates the blocks (+ a "normal" extension with additional code to run on the device), so we were looking at this, and all the other ways to generate block dropdowns. In the end we went with the "fixedInstance" method, so we don't have a direct use for this one right now.

The main question I'd have is if this method has been used by any existing extension.

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

2 participants