Is there a way to hide the input password value in the inspect elements?Appreciate your help
Hi @Ruzzel John Bisnar,
Unfortunately, no. If the user has access to browser tools, they can inspect the DOM.
Thanks,
Vipin Yadav
Hi @Ruzzel John Bisnar
Who do you want to hide it from? Yourself?
You can't. It's an input field. The value property of an input field is going to be visible through the inspect element option of the dev tools.
ThanksDeep
I noticed it on the other web app made in OutSystems that the value attribute is not showing even if the input type = password is not empty
I just want to add this feature for security purposes especially for those uses the auto-fill
Okay, I did some workaround in reactive login screen on browser, and found below scenarios -
1. Inside Form - if you use input fields inside form it'll show you the value attribute in web browser inspect element.
2. Outside form - if you use input fields outside form it'll not show you the value attribute in web browser inspect element.
You can try to implement in code, if it'll help you.
But to be honest removing form tag is not a solution because it'll lead security concern such as CSRF token and default form validation mechanism.
Hi,
It's not possible to hide the password from being visible in browser inspection tools. Could you please share your use case?
If you need to display the password in a form, consider showing it in an encrypted format.
If you need to validate the password, capture the user input and perform the validation on the server side.