Input.Password component doesn't get initial value from Form on SSR (Next.js)
Author: abdulgafur24Created Dec 7, 2021Updated Sep 23, 2026
Labels🐛 Bughelp wantedInactive
- I have searched the issues of this repository and believe that this is not a duplicate.
Reproduction link
Steps to reproduce
open Next.js application
- Create Form component and set initial values
- In Form.Item Create Input.Password component and set name as in initial value
What is expected?
Input.Password component should get initial value and show it in input
What is actually happening?
It doesn't shows initial value, only after focusing it updates value
| Environment | Info |
|---|---|
| antd | 4.17.2 |
| React | 17.0.2 |
| System | MacOS 11.1 |
| Browser | Google Chrome 96.0.4664.55 |
Source: ant-design/ant-design