mohit200008 / medi-Care

medi-care-phi.vercel.app
13 stars 24 forks source link

Fixed add doctor form #102

Closed piyusha2001 closed 2 years ago

piyusha2001 commented 2 years ago

Fixed issue : #99 Before - 1)Doctor was getting added without validating form 2)Years of experience was allowed a negative number. 3)Add Doctor button was not visible

Fixes - 1)Form is getting validated , data is getting consoled and user wont be able to enter age and experience in negative. 2) Add Doctor button is made more user friendly. 3)Added file input for verification the doctor 3)Here on submitting API is not getting called . So I have used states for data so that later it will be easy to call the API.

Screenshots-

Screenshot 2022-05-26 205754

Screenshot 2022-05-26 195703

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
medi-care ✅ Ready (Inspect) Visit Preview May 26, 2022 at 3:28PM (UTC)
piyusha2001 commented 2 years ago

@mohit200008 kindly review my PR