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 create an empty text field #6701

Closed
BeksOmega opened this issue Dec 13, 2022 · 0 comments · Fixed by #6702
Closed

Cannot create an empty text field #6701

BeksOmega opened this issue Dec 13, 2022 · 0 comments · Fixed by #6702
Assignees
Labels
component: fields issue: bug Describes why the code or behaviour is wrong

Comments

@BeksOmega
Copy link
Collaborator

BeksOmega commented Dec 13, 2022

Describe the bug

Text fields do not allow you to delete their text to create an empty text value.

To Reproduce

Steps to reproduce the behavior:

  1. Go to the playground.
  2. Drag out a block with a text input.
  3. Type some text into it, and deselect the field to set the value.
  4. Select the field again, and delete the text, then deselect.
  5. Observe how the field resets to the previous value you entered, rather than having no text.

Expected behavior

You should be able to delete the text from text input fields.

Additional context

Originally filed here: https://groups.google.com/g/blockly/c/wGzD3uSsZw0/m/nd8G0XbbAgAJ

@BeksOmega BeksOmega added issue: bug Describes why the code or behaviour is wrong issue: triage Issues awaiting triage by a Blockly team member component: fields and removed issue: triage Issues awaiting triage by a Blockly team member labels Dec 13, 2022
@BeksOmega BeksOmega self-assigned this Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: fields issue: bug Describes why the code or behaviour is wrong
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant