tom-select icon indicating copy to clipboard operation
tom-select copied to clipboard

Plugin "Restore on Backspace" does not work with custom values (not selected from list of existing values)

Open DavidMoraisFerreira opened this issue 1 year ago • 2 comments

Describe the bug The restore on backspace plugin only works on values which are already specified in the HTML tag "values". It does not work when entering new text values.

To Reproduce

  1. Go to https://tom-select.js.org/plugins/restore-on-backspace/
  2. Type in "Test1234"
  3. Press Enter
  4. Press Backspace
  5. "Test1234" is completely removed, should be editable

(!) For this bug to occur, persist must be set to false.

Expected behavior If you repeat the same steps with "awesome" (make sure to remove it first), the "awesome" becomes editable.

Additional context Add any other context about the problem here.

  • Windows 10
  • Firefox 118.0.1

DavidMoraisFerreira avatar Oct 18 '23 18:10 DavidMoraisFerreira

This issue has not been active in 120 days and has been marked "stale". Remove stale label or comment or this will be closed in 15 days

github-actions[bot] avatar Feb 26 '24 02:02 github-actions[bot]

Not stale.

DavidMoraisFerreira avatar Mar 03 '24 22:03 DavidMoraisFerreira

This issue has not been active in 120 days and has been marked "stale". Remove stale label or comment or this will be closed in 15 days

github-actions[bot] avatar Jul 03 '24 02:07 github-actions[bot]