mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-17 17:01:45 +03:00
86a375c7da
This passes the validity state of all fields to the consumer of `RegistrationForm` via the `onValdiationChange` callback, instead of just the most recent error. In addition, we notify the consumer for any validation change, whether success or failure. This allows old validation messages to be properly cleared. It also allows the consumer to be aware of multiple validation errors and display the next one after you have fixed the first. Fixes https://github.com/vector-im/riot-web/issues/8769 |
||
---|---|---|
.. | ||
ForgotPassword.js | ||
Login.js | ||
PostRegistration.js | ||
Registration.js |