Password

Purpose

This component provides an input control that allows users to enter confidential or sensitive information such as passwords. The characters entered are obfuscated, i.e. they are not readable by anyone who can see the screen.

Exported Features

cf2:ui.Password

Imported Features

cf2:ObservablePropertySet

Markup

This component is provided by the ui:password element.

Properties

The following table lists the observable properties associated with this component.

Property Description Type Access
maxlength The maximum number of characters allowed in the form field. The initial value of this property can be specified by the maxlength attribute on the ui:password element. integer read/write
value The value of the field. The initial value of this property can be specified by the value attribute on the ui:password element. String read/write

Markup

If this component is not supported, then it falls back to a static password input field.

Related topics