When I type a password somewhere, I see placeholders (black dots) in place of characters. But sometimes, there is also a toggle button to view the password like in a regular input field (typically an icon with the shape of an eye, or a text like "View password"). I've seen this kind of fields mostly in browsers.
On the other hand, it seems that other password fields do not have such an option, and I don't see a clear reason why (For example, when I enter a WIFI password in my Android mobile, I cannot read what I type, and I hate that).
My question is, why do some UIs allow you to see a password while you type it while others do not?
Or maybe in other words, how does a developer/security engineer decide if a password field should include a toggle to view the password as plain text or not?