Skip to content

Commit

Permalink
Issue #PS-#220096 chore: Fixed on enter refresh issue for search func…
Browse files Browse the repository at this point in the history
…tionality
  • Loading branch information
Rushikesh-Sonawane99 committed Jun 5, 2024
1 parent 657dc77 commit 128f052
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/pages/attendance-history.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,10 @@ const UserAttendanceHistory = () => {
<Grid item xs={8} ref={searchRef}>
<Paper
component="form"
onSubmit={(event) => {
event.preventDefault();
handleSearchSubmit();
}}
sx={{
display: 'flex',
alignItems: 'center',
Expand Down
5 changes: 4 additions & 1 deletion src/pages/attendance-overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -707,10 +707,13 @@ const AttendanceOverview: React.FC<AttendanceOverviewProps> = () => {
<Grid item xs={8}>
<Paper
component="form"
onSubmit={(event) => {
event.preventDefault();
handleSearchSubmit();
}}
sx={{
display: 'flex',
alignItems: 'center',

borderRadius: '100px',
background: theme.palette.warning.A700,
boxShadow: 'none',
Expand Down

0 comments on commit 128f052

Please sign in to comment.