Custom Activity - Input Property - Text obscured

Hi All,

Is there a way to make a property field appear like “*****” when typing using the Custom activity creator, just as the GetPassword does. I’ve tried many things and attributes but I still couldn’t find the solution for that.

I have tried the below code with the attribute, but no luck -
[PasswordPropertyText(true)]
public string Password { get; set; }

Regards,
Satchit Shekar