feature/react ojt final project#5
Open
Aung-Thu-Hein wants to merge 9 commits into
Open
Conversation
yewai01
reviewed
Dec 30, 2022
| "@testing-library/react": "^13.4.0", | ||
| "@testing-library/user-event": "^13.5.0", | ||
| "bootstrap": "^5.2.3", | ||
| "formik": "^2.2.9", |
Collaborator
There was a problem hiding this comment.
ma use tae dependency ko delete pay pr
|
|
||
| const Birthday = (props) => { | ||
|
|
||
| console.log("Props" ,props) |
Collaborator
There was a problem hiding this comment.
console.log twe delete pay pr
|
|
||
| const schema = Yup.object().shape({ | ||
|
|
||
| userName: Yup |
Collaborator
There was a problem hiding this comment.
space a po twe delete pay pr
| if (data) { | ||
| data = JSON.parse(data); | ||
| if (data.length > 9) { | ||
| setValue('userId', 'ID-00' + `${data.length + 1}`) |
Collaborator
There was a problem hiding this comment.
prefix zero ko hard code ma yay pr nae
try this
let n= 10
String(n).padStart(4, '0') // 0010
| @@ -0,0 +1,21 @@ | |||
| import { useEffect, useState } from "react"; | |||
Collaborator
There was a problem hiding this comment.
d hook ka ma use yin delete lox ya pr tl
pee tot javascript file twe ko space 2 nae pl setting cha ht pay pr aku ka space 4 twe pyit nay pr tl all page
| @@ -0,0 +1,235 @@ | |||
| import Button from 'react-bootstrap/Button'; | |||
Collaborator
There was a problem hiding this comment.
user role mhr validation sit pay pr
| <Col sm={2}><Form.Label>Gender</Form.Label></Col> | ||
| <Col sm={1}> | ||
| <Form.Check | ||
| {...register('gender')} |
Collaborator
There was a problem hiding this comment.
radio button mhr id nae chate pay pr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
<< Changes >>