Skip to content

Commit

Permalink
add pattern attr to phone input
Browse files Browse the repository at this point in the history
  • Loading branch information
Ase020 committed Jan 29, 2024
1 parent 062ba06 commit 9ba597a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/APP/pages/aboutUs/sections/LeadershipSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,9 @@ function LeadershipSection() {
/>

<input
type="telephone"
type="tel"
placeholder="Phone number"
pattern="[0-9\s]{10,13}"
required
className="w-full outline-none text-base font-normal placeholder:text-gray-600 border border-[#79747E] rounded-[4px] pl-4 py-2"
value={phoneNumber}
Expand Down

0 comments on commit 9ba597a

Please sign in to comment.