forum icon indicating copy to clipboard operation
forum copied to clipboard

Cannot "Replace" or "Replace all" with nothing.

Open akulbe opened this issue 1 year ago • 1 comments

Describe the bug I wanted to delete all occurrences of a string from a note. If I didn't put anything in the "Replace" field, the "Replace" and "Replace all" buttons were never available to click.

To Reproduce Steps to reproduce the behavior:

  1. Press Ctrl-f
  2. enter a search string in the "Search" box
  3. click the arrow to the left of the Search box
  4. Leave the "Replace" box empty.
  5. Observe that neither "Replace" nor "Replace all" buttons are available to click, and remain greyed out.

Expected behavior Allow users to replace strings with nothing, effectively deleting all occurrences of said string.

Screenshots StandardNotes_delete_bug

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser Edge
  • Version 129.0.2792.31

Smartphone (please complete the following information):

  • Device: iPhone 14 Pro Max
  • OS: iOS 17.6.1

Additional context Add any other context about the problem here.

akulbe avatar Sep 11 '24 16:09 akulbe

P.S. Standard Notes is awesome. Easily one of my most-used apps on all platforms!

akulbe avatar Sep 11 '24 16:09 akulbe