'Password visible while inspecting input element in a react app

Similar problems were seen on popular websites. Checkout the below image for reference

Screenshot of login page of netflix

The value attribute of the input tag exposes the password, Is this an acceptable behaviour?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source