How to create a password input with fabric ui react?

Viewed 1934

There is a TextField input in fabric ui, but I have not found a way to create a password field for a login form.

Edit:

I tried using the 'type' attribute but I get an error.

Property 'type' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<TextField> & Readonly<{ children?: ReactNode; }>

These are the related packages from package.json:

"office-ui-fabric-react": "^4.21.4",
"react": "^15.6.1",
"react-dom": "^15.6.1",
"typescript": "^2.4.2"

This problem seems to be similar to mine: https://github.com/OfficeDev/office-ui-fabric-react/issues/2203 - I tried downgrading to TypeScript 2.2.2 but I get a ton of errors from the node_modules folder if I do that.

UPDATE: issue is fixed now. Updated packages and it's no longer there.

2 Answers
Related