In the work email confirmation form, two regressions appeared after a recent PR. Users report that the submit button sometimes remains available for an already changed address, and re-checking the same value does not always start again after clearing the status.
email field must be considered valid only when it has a non-empty value and passes the standard email check.email value must immediately reset the successful verification state.Confirm button must be available only when:
Check button must allow verification to be started again even for the same address if the user has already changed the field or reset the status.team@corp.test and click Check.Address confirmed status.team+draft@corp.test.Confirm behave incorrectly.Separately:
team@corp.test.Check and wait for the response.Reset status.Check again.email, the successful verification must immediately become stale.Confirm must not remain available for a new address that has not yet been checked.Reset status, the user must be able to check the same address again without extra workaround steps.Address confirmed message must correspond to the current field value, not a previous successful request.20.0.0, standalone components5.8.x7.8.xChangeDetectionStrategy.OnPushzone.js modeFormControl, Validators)Observable<{ ok: boolean; normalizedEmail: string }> with a small delayUse line comments to explain the problem, its impact, the fix and how to test it.