Skip to content

Commit

Permalink
Fixed Placeholder Attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
deepeshahlawat committed Feb 7, 2025
1 parent 5e09674 commit 9f785a1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pages/Registration.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export default function Registration() {
title="Name"
name="name"
type="text"
placeholder="Name"
placeholder="Enter your full name"
register={register("name", {
required: "Name is required",
})}
Expand All @@ -144,7 +144,7 @@ export default function Registration() {
title="Email address"
name="email"
type="email"
placeholder="E-mail Address"
placeholder="[email protected]"
register={register("email", {
required: "Email is required",
pattern: {
Expand All @@ -166,7 +166,7 @@ export default function Registration() {
name="password"
value={form.password}
type={showPassword ? "text" : "password"}
placeholder="Password"
placeholder="Choose a strong password"
onChange={handleChange}
className="input-bar pr-10"
register={register("password", {
Expand Down Expand Up @@ -214,7 +214,7 @@ export default function Registration() {
name="confirmPassword"
value={form.confirmPassword}
type={showConfirmPassword ? "text" : "password"}
placeholder="Confirm Password"
placeholder="Re-enter your password"
onChange={handleChange}
className="input-bar pr-10"
register={register("confirmPassword", {
Expand Down

0 comments on commit 9f785a1

Please sign in to comment.