Common UI - Changing the confirm input

I’d really like to know the reason behind this, because this made me waste way too much time!
Thank you for your solution, I would have never figured it out by myself!