Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow special char, digits in search input of service overview #1242

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

### Bugfixes

- **Service Overview**
- search services field should allow speacial chars, digits
- **Home Page**
- fixed clicking on apps in Home page URL navigation failed [#1285](https://github.com/eclipse-tractusx/portal-frontend/pull/1285)

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
Loading