interactive icon indicating copy to clipboard operation
interactive copied to clipboard

Input prompt dialog displayed two times

Open marckruzik opened this issue 5 months ago • 0 comments

Describe the bug

When using an input prompt:

#!set --name x --value @input:{"prompt": "Please enter a value", "saveAs": "x"}

If I leave the textbox empty, and use Enter, it displays the following:

Error: Input request cancelled Error: Input not provided.

Then it asks again to input a value. I think it should not ask a second time.

Note : same behavior with Escape.

Please complete the following:

Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ): Version: 1.0.632301+7d35ce3be7eb7a603527a3683b691d5e9922adca

  • OS
    • [x] Windows 11
    • [ ] Windows 10
    • [ ] macOS
    • [ ] Linux (Please specify distro)
    • [ ] iOS
    • [ ] Android
  • Frontend
    • [ ] Jupyter Notebook
    • [ ] Jupyter Lab
    • [ ] nteract
    • [x] Visual Studio Code
    • [ ] Visual Studio Code Insiders
    • [ ] Visual Studio
    • [ ] Other (please specify)

marckruzik avatar Sep 18 '25 10:09 marckruzik