[UX] Add password field to FTP (Cloud storage) (#4232)

This commit is contained in:
Robert
2018-09-18 20:21:14 +02:00
committed by Frans de Jonge
parent eed3a4b5a2
commit afc8427d96
2 changed files with 2 additions and 0 deletions

View File

@@ -90,6 +90,7 @@ function Ftp:config(item, callback)
{
text = text_password,
input_type = "string",
text_type = "password",
hint = hint_password,
},
{

View File

@@ -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,