In a JS view a password field is defined as followed:
new sap.m.InputListItem({ label: "Password", content: new sap.m.Input({ value: "{app>/Password}", type: sap.m.InputType.Password })
How do I handle the same in an XML view. Sure, I can substitute the constant with a string, but this is is obviously not intention of constants.
<Input value="{app>/Password}" type="Password" />
I've tried alreay this:
type="{'sap.m.InputType.Password'}"
But it doesn't work 😔
See also Mobile Dev Course W3U3 Rewrite - XML Views - An Analysis
Any ideas?