From b48081e67957738b729b66f9a66f2a1746e5611e Mon Sep 17 00:00:00 2001 From: Goffi Date: Tue, 22 Mar 2022 17:00:42 +0100 Subject: [PATCH] jp (xmlui): add `PasswordWidget` --- sat_frontends/jp/xmlui_manager.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sat_frontends/jp/xmlui_manager.py b/sat_frontends/jp/xmlui_manager.py index 7dce0f4f..0e98b882 100644 --- a/sat_frontends/jp/xmlui_manager.py +++ b/sat_frontends/jp/xmlui_manager.py @@ -234,6 +234,10 @@ class JidInputWidget(xmlui_base.JidInputWidget, StringWidget): 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