Skip to content

Slider fields doesn't auto-update when changing the inline editor after sliding the slider knob #2520

@BenHenning

Description

@BenHenning

Check for duplicates

  • I have searched for similar issues before opening a new one.

Component

field-slider

Description

When using the field slider, attempting to change the field value via the inline text editor after moving the slider no longer results in automatic synchronizing between the two (this only works before moving the slider for the first time).

This issue repros for both v11 and v12.

Reproduction steps

  1. Open the field-sider test playground (locally or on https://google.github.io/blockly-samples/plugins/field-slider/test/index.html).
  2. Add a block with a number field.
  3. Click on the field to open the slider.
  4. Click on the text editor and change the numeric value.
  5. Observe the slider automatically syncs.
  6. Click to drag and move the slider.
  7. Click again on the text editor and change the numeric value.
  8. Observe that the slider no longer syncs.

Stack trace

Screenshots

Screen.recording.2025-05-14.2.34.53.PM.webm

Metadata

Metadata

Assignees

No one assigned

    Labels

    category: pluginAnything in the plugins folderhelp wantedOpen for contributionstype: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions