Mercurial > libervia-backend
changeset 3748:53a8b50d69ca
jp (xmlui): add `PasswordWidget`
| author | Goffi <goffi@goffi.org> |
|---|---|
| date | Tue, 22 Mar 2022 17:00:42 +0100 |
| parents | dd1d1a582438 |
| children | 9581098b64f0 |
| files | sat_frontends/jp/xmlui_manager.py |
| diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
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
