If you want to mask the input, you have to set ‘Password’ as the field type…
Is that what you are looking for?