Page MenuHomePhabricator

Find-Replace: When 'Regular expression' search evaluates search criteria as invalid - the Find field should be cleared from previous search results count.
Closed, ResolvedPublic1 Estimated Story Points

Description

  1. In VE, open Find-Replace and click on Regular expression button.
  2. Perform some search that returns results - will be displayed in the Find box as, e.g. '1 of 3'.
  3. Change your search criteria: add the leading *, e.g. *test

The Find field will change its background color to reddish indicating that the search criteria is invalid, but the previous search results count won't be cleared - and the Find arrows icons are still active too.

regex_invalid_search.png (414×1 px, 40 KB)

Event Timeline

Etonkovidova raised the priority of this task from to Low.
Etonkovidova updated the task description. (Show Details)
Etonkovidova added a project: VisualEditor.
Etonkovidova subscribed.

Change 234302 had a related patch set uploaded (by Esanders):
Clear query when regex is invalid

https://gerrit.wikimedia.org/r/234302

Change 234302 merged by jenkins-bot:
Clear query when regex is invalid

https://gerrit.wikimedia.org/r/234302