Skip to content

window.prompt duplicate entry on paste #157

Description

@js-pro-560

jArchi Version

1.12

Archi Version

5.10.0

Operating System

Linux Mint 22

Description

On pasting text in window.prompt window, text is duplicated (ex: pasting "test" > renders "testtest" in the prompt)

Image

Steps to reproduce

  1. execute the following script
let answer = window.prompt("Please enter your name", "Default Name");
console.log(answer)
  1. in a text editor, write "test", copy it
  2. paste it in the prompt
  3. "testtest" is displayed in the prompt

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions