The changes of c269932c4e (Relax checks on character entry in numeric validators, 2023-07-02) went a bit too far and not just relaxed the checks but removed them entirely. Correct this by ensuring we have a valid value after focus loss. See #12968.
c269932c4e