Skip to content

Buttons for dynamic drop-down blocks in playground are broken #8118

@BeksOmega

Description

@BeksOmega

Check for duplicates

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

Description

The buttons attempt to call a prompt function that doesn't exist.

Reproduction steps

  1. Switch to the test blocks in the playground.
  2. Open up the dropdown block tests.
  3. Try the "Add option" button. Observe the error.

Stack trace

index.js:2 Uncaught TypeError: t.prompt is not a function
    at c (index.js:2:23634)
    at FlyoutButton.onMouseUp (flyout_button.ts:339:9)
    at SVGGElement.wrapFunc (browser_events.ts:63:14)

Screenshots

No response

Browsers

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue: bugDescribes why the code or behaviour is wrong

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions