Last active
April 13, 2022 18:00
-
-
Save LennonSantos/d41ddcc62006f3ac832a3b02ff55fb0e to your computer and use it in GitHub Desktop.
Mensagem costumizada na validação de input/formulário
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input | |
required | |
oninvalid="this.setCustomValidity('Este campo é obrigatório!')" | |
oninput="this.setCustomValidity('')" | |
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment