PipedreamHQ / PipedreamHQ/pipedream

[BUG] Unable to replace found text with '' (empty string)

Open
#15,946 1 comment 0 reactions 0 assignees View on GitHub
bug tracked internally triaged
Dominant language
JavaScript
Stars
11.7k
Forks
5.8k
Avg merge
3d 10h
Merged PRs (30d)
102

Description

**Describe the bug**
Workflow search and replace does not allow for replacing search text with nothing (empty replace field).

**To Reproduce**
Steps to reproduce the behavior:
1. Go to workflow search screen
2. Enter a search term that it will find
3. Open the replace option by clicking the arrow on the left
4. Do not type anything in the replace box
5. Try to click the replace all button - it will not be enabled
6. Type anything in the replace box, now the replace all button will be enabled

**Expected behavior**
If I want to remove a search term from all steps, I should be able to.
Workaround is to find a longer search term so that you can replace a longer string with a shorter one, so if you can't replace A with , you can replace AB with B.

**Screenshots**
Disabled replace all button:
Image

Enabled replace all button:
Image

**Desktop (please complete the following information):**
- OS: MacOs Sequoia
- Browser: Chrome
- Version: 134.0.6998.89 (Official Build) (arm64)

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.