Password-style text input

Hi!

Having a plugin panel with a text input field

    .addTextInput({
...
    });

Is there any way to have the text be masked like a password?
In a perfect world, I would even like to store the value like a password in the data sources - but I see no way to at least mask the content itself.

Side note: The entered value in the panel plugin must be used by the client - so just write-only storying it data source-like is not an option.
But it would be nice to mask the content of the field to avoid ‘over the shoulder’-attackers :wink:

Thank you for any ideas,
Sebastian

SecretFormField is working fine.

Seb