One of my unique components is the PasswordInput, featuring a visibility icon that allows users to easily switch between showing their password in plain text and hiding it with bullets. However, currently when displaying a value like "12-123455" in password mode, all characters, including special ones like "-", are hidden as bullets.
<input type=“text” value=“12-123455” />
Instead of always hiding special characters like "-", is there a way to customize the display to show certain characters while keeping others hidden? For example, is it possible to display values like "••-••••••" rather than hiding the "-" character entirely?