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

Textarea with pre-filled text cannot delete all text #90

Open
HovKlan-DH opened this issue Oct 31, 2024 · 0 comments
Open

Textarea with pre-filled text cannot delete all text #90

HovKlan-DH opened this issue Oct 31, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@HovKlan-DH
Copy link

HovKlan-DH commented Oct 31, 2024

Describe the bug

When purely deleting all the pre-filled text in a textarea, then as soon as the textarea looses focus, then the original text reappears.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://jsfiddle.net/scaky7bd/
  2. Click in the textarea field
  3. Mark all text and delete it; "Test 1 2 3"
  4. Point and click your mouse outside the textarea
  5. See error - the text "Test 1 2 3" will reappear

Demo

https://jsfiddle.net/scaky7bd/

Browser / OS

  • OS: Windows
  • Browser: Chrome
  • Browser version: 130.0.6723

Additional information

When editing the text (removing some characters or adding some new chars), then it will correctly keep that specific text - only when deleting everything, it seems to be a problem.

@HovKlan-DH HovKlan-DH added the bug Something isn't working label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants