Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sweepstake
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Arjun Jhukal
sweepstake
Commits
cdfeb8d1
Commit
cdfeb8d1
authored
Nov 03, 2025
by
Arjun Jhukal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated the label for required field at register form
parent
da49670c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
PasswordField.tsx
src/components/molecules/PasswordField.tsx
+1
-1
index.tsx
src/components/pages/auth/register/index.tsx
+4
-4
No files found.
src/components/molecules/PasswordField.tsx
View file @
cdfeb8d1
...
...
@@ -29,7 +29,7 @@ export default function PasswordField({
const
handleMouseDownPassword
=
(
event
:
React
.
MouseEvent
<
HTMLButtonElement
>
)
=>
event
.
preventDefault
();
return
(
<
div
className=
"input_field"
>
<
InputLabel
htmlFor=
{
name
}
>
{
label
}
</
InputLabel
>
<
InputLabel
htmlFor=
{
name
}
>
{
label
}
<
span
className=
"text-red-500"
>
*
</
span
>
</
InputLabel
>
<
OutlinedInput
id=
{
name
}
name=
{
name
}
...
...
src/components/pages/auth/register/index.tsx
View file @
cdfeb8d1
...
...
@@ -327,7 +327,7 @@ export default function RegisterPage() {
<
div
className=
"col-span-2 lg:col-span-3"
>
<
div
className=
"input__field"
>
<
InputLabel
htmlFor=
"phone"
>
Phone
</
InputLabel
>
<
InputLabel
htmlFor=
"phone"
>
Phone
<
span
className=
"text-red-500"
>
*
</
span
>
</
InputLabel
>
<
OutlinedInput
fullWidth
id=
"phone"
...
...
@@ -344,7 +344,7 @@ export default function RegisterPage() {
</
div
>
<
div
className=
"col-span-2 lg:col-span-3"
>
<
div
className=
"input__field"
>
<
InputLabel
htmlFor=
"dob"
>
Date of Birth
</
InputLabel
>
<
InputLabel
htmlFor=
"dob"
>
Date of Birth
<
span
className=
"text-red-500"
>
*
</
span
>
</
InputLabel
>
<
LocalizationProvider
dateAdapter=
{
AdapterDayjs
}
>
<
DatePicker
value=
{
values
.
dob
}
...
...
@@ -407,7 +407,7 @@ export default function RegisterPage() {
<
div
className=
"input_field"
>
<
PasswordField
name=
"password"
label=
"Password
*
"
label=
"Password"
placeholder=
"XXXXXXX"
value=
{
values
.
password
}
onChange=
{
handleChange
}
...
...
@@ -420,7 +420,7 @@ export default function RegisterPage() {
<
div
className=
"input_field"
>
<
PasswordField
name=
"confirmPassword"
label=
"Confirm Password
*
"
label=
"Confirm Password"
placeholder=
"XXXXXXX"
value=
{
values
.
confirmPassword
}
onChange=
{
handleChange
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment