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

Evaluate extending the Blockly Field.Dropdown for constants variable support #679

Open
zfi opened this issue Aug 6, 2021 · 0 comments
Open
Assignees

Comments

@zfi
Copy link
Contributor

zfi commented Aug 6, 2021

There are a large number of blocks that contain pin configuration settings, typically as a drop-down list of available I/O pins supported on the target device. These lists must support constant values in addition to the pins enumerated in the block.

Rather than incorporate logic in each block to manage any constant values that might appear in the drop-down list, it is probably a better approach to extend the base Blockly.Field.Dropdown class with the logic necessary to manage constants within the list.

@zfi zfi self-assigned this Aug 6, 2021
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