Skip to content

Commit

Permalink
Merge pull request #236 from Rushikesh-Sonawane99/shiksha-2.0
Browse files Browse the repository at this point in the history
Issue #PS-220096 chore: Fixed on enter refresh issue for search functionality
  • Loading branch information
itsvick authored Jun 5, 2024
2 parents cf16291 + 128f052 commit 8592ef1
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 8592ef1

Please sign in to comment.