1👍
✅
I think you might be interested in this answer : https://stackoverflow.com/a/54020111/8439435
Basically you would need to write a custom javascript function to check that both password match each other and use setCustomValidity
to show a browser error message on validation of the form if passwords are different.
Source:stackexchange.com