Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

How to display the default value? #62

Open
whitegem99 opened this issue Oct 24, 2022 · 0 comments
Open

How to display the default value? #62

whitegem99 opened this issue Oct 24, 2022 · 0 comments

Comments

@whitegem99
Copy link

<Form.Item className='form_item' name='ssn' rules={[ { required: true, message: 'Please input your US social security number', whitespace: true, }, { message: 'Only numbers must be entered', pattern: new RegExp(/^\d{3}-\d{2}-\d{4}$/), } ]} > <MaskedInput mask="000-00-0000" /> </Form.Item>

I got the value of this form item from api. But after replacing the with , the value are not showed.
Thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant