Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当任何字段出现错误时,密码和密码确认字段都被清除,这对用户来说很烦人。
这是设计使然吗?为什么?
您必须将always_empty选项设置为 false。
always_empty
http://symfony.com/doc/2.1/reference/forms/types/password.html#always-empty