I have simple gmail addon in which i am trying to make custom login form. The problem i am facing is that when i am changing the input field from on Change handler the displayed value is not changing . Trying to hide the password field.
Textinput widget
function getMembersSelectMenu(){
var textInput = CardService.newTextInput()
.setFieldName("Password")
.setTitle("Password")
.setHint("Enter Password")
.setOnChangeAction(CardService.newAction()
.setFunctionName("handlePasswordChange"))
return textInput;
}
handler function for textInput
function handlePasswordChange(e){
// e.formInput.pass = e.formInput.Password;
e.formInput.Password = "*";
e.formInputs.Password = "******"
Logger.log("my value object" + JSON.stringify(e));
}
Already checked the object and value is updated but not change in the view