Create password field in task form

I have a requirement for a password field in a task form. In html5 I would set the type to password but it seems that is not supported here. Is there way I can create an input field that masks the content as it is entered?

Hi,

to my knowledge, it should be possible to use password fields in embedded forms. Did you try something like

<input cam-variable-name="myPassword"
       cam-variable-type="String"
       type="password" />

If this does not work, do you get any errors in the browser console (F12) when opening or submitting the form?

Cheers
Sebastian

Unfortunately we are still using Camunda 7.1.0 and the syntax suggested won’t work. I did try setting the type to ‘password’ but by the time the form was rendered the type had been changed to string.