ExtJSでpasswordなフィールドを使う。

5分くらいだけど、地味にはまった。

最初、勘で

xtype: 'password'

とか

xtype: 'passwordfield'

とか してたけど、エラー。API Documentにもそれっぽいのがなくて、結局ググる

xtype: 'textfield'
inputType: 'password'

が正解

http://www.sencha.com/forum/showthread.php?22968-SOLVED-how-to-create-PASSWORD-field-in-ext-js