Skip to content

Commit

Permalink
fix: allow special char, digits in search input of service overview
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhamv-ss committed Oct 16, 2024
1 parent 2a3ae9b commit 731e160
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## Unreleased

### BugFixes

- **Service Overview**
- search services field should allow speacial chars, digits

### Feature

- **Clearinghouse Self-Description**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ export default function ServiceListOverview() {
},
})
setPage(0)
setSearchExpr('')
}

const statusFilterViews = [
Expand Down Expand Up @@ -167,10 +168,6 @@ export default function ServiceListOverview() {

const onSearch = useCallback(
(expr: string) => {
const validateExpr = /^[ A-Za-z]*$/.test(expr)
if (!validateExpr) {
return
}
setSearchExpr(expr)
debouncedSearch(expr)
},
Expand Down

0 comments on commit 731e160

Please sign in to comment.