diff --git a/frontend/apps/cloudstorage/ftp.lua b/frontend/apps/cloudstorage/ftp.lua index 5408ebe34..bc1e9e5f3 100644 --- a/frontend/apps/cloudstorage/ftp.lua +++ b/frontend/apps/cloudstorage/ftp.lua @@ -90,6 +90,7 @@ function Ftp:config(item, callback) { text = text_password, input_type = "string", + text_type = "password", hint = hint_password, }, { diff --git a/frontend/ui/widget/multiinputdialog.lua b/frontend/ui/widget/multiinputdialog.lua index c2f3e0307..e3ce73782 100644 --- a/frontend/ui/widget/multiinputdialog.lua +++ b/frontend/ui/widget/multiinputdialog.lua @@ -42,6 +42,7 @@ function MultiInputDialog:init() text = field.text or "", hint = field.hint or "", input_type = field.input_type or "string", + text_type = field.text_type, face = self.input_face, width = self.width * 0.9, focused = k == 1 and true or false,