Mercurial > libervia-backend
diff sat_frontends/jp/xmlui_manager.py @ 3748:53a8b50d69ca
jp (xmlui): add `PasswordWidget`
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 22 Mar 2022 17:00:42 +0100 |
parents | 04283582966f |
children | 524856bd7b19 |
line wrap: on
line diff
--- a/sat_frontends/jp/xmlui_manager.py Tue Mar 22 17:00:42 2022 +0100 +++ b/sat_frontends/jp/xmlui_manager.py Tue Mar 22 17:00:42 2022 +0100 @@ -234,6 +234,10 @@ type = "jid_input" +class PasswordWidget(xmlui_base.PasswordWidget, StringWidget): + type = "password" + + class TextBoxWidget(xmlui_base.TextWidget, StringWidget): type = "textbox" # TODO: use a more advanced input method