---
sourceDocument: Brazil Build or modify applications
sourceDocumentLink: https://www.servicenow.com/docs/r/application-development

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Input Password component setup

# Input Password component setup {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 5 minutes to read  
Use the Input Password component to give users a way to create accounts or log in when authentication is required.

## Before you begin

This task assumes you have placed the component on the page and are ready to configure the properties and events. For instructions on accessing and using features in UI Builder, see [Customize UI Builder pages using components](https://www.servicenow.com/docs/YMtTz79hYjmj5_kMcObIuA "Learn what a component is in UI Builder. Also, see how components work within UI Builder.").  
Note:  
This document describes the latest component functionality. Go to the store to make sure you have the latest version of the component.

Role required: admin or ui_builder_admin

## Procedure

1. Define a label for your Input Password that differentiates it from other components in the content tree.  
   A label makes finding the component easier in a large list of components. For instructions on using the content tree, see [Manage UI pages and page variants](https://www.servicenow.com/docs/Hq7OFdFRjvDFnNsfdtsMGw "Learn what a page is in UI Builder. Understand the building blocks of a UI Builder page, such as column layouts and components.") .
2. Select the Input Password component, using one of these methods:
   * Click anywhere within the component.
   * Select the Input Password label you created for your component in the content tree.

   {#input-password-component-uib-setup__choices_gkc_gxd_qnb}  
   The property fields appear in the Config tab in the setup panel on the right.
{#input-password-component-uib-setup__steps_fkc_gxd_qnb}

## Input Password component properties {#ariaid-title2}

Define the value, text, and alert messages of your Input Password component with these properties.
To configure the properties, enter either static or dynamic input. Enter dynamic input by selecting the input type.

* Data binding: Creates dynamic property values from multiple sources. Sources include state variables (@state), URL variables (@context), or data resource payloads (@data). For details, see [Add and configure data resources to a
  page](https://www.servicenow.com/docs/~B53KgSqh6jyRj9wmzg8LA "Add data resources to dynamically expose data from tables, records, or other elements on your page in UI Builder.") .
* Scripting: Creates a scripted property value. For details on scripted values, see [Create and bind a client state parameter to a component](https://www.servicenow.com/docs/JxkxcsWDJlkywLr4rc~p8A "Create and bind a client state parameter value to a component in UI Builder. By adding custom values to your components, these components can then be automatically updated through a script.") .
{#input-password-config-properties__choices_4jq_bp0_csl}
{#input-password-config-properties__table_vjc_3yd_qnb__entry__2}

| Field | Description |
|-|-|
| Size \[size\] | Size of the component in either small or medium. Default: Medium |
| Disabled \[disabled\] | When enabled, user cannot interact with the field and cannot change its value. The field appears grayed out when disabled. |
| Read-only \[readonly\] | When enabled, user cannot modify the value of the input field. The input field is not disabled in this setting. |
| Auto focus \[autofocus\] | Indicate that focus is automatically placed inside the input field when the page loads. |
| Field layout configuration \[fieldLayout\] | Determines whether the labels, field, and slotted content are arranged vertically or horizontally. This property also determines the respective proportions of each element in a horizontal container. The field layout has two configuration properties: * layout (string): * "layout":"horizontal": Horizontally aligns the label with the field; the label displays to the left of the field. * "layout":"vertical" (default): Vertically aligns the label with the field; the label displays above the field. {#input-password-config-properties__ul_djm_nry_fyb} * columns (array): If the layout is horizontal, the component uses the columns array to set the grid template column width for the containers. {#input-password-config-properties__ul_hxx_kvk_yxb} |
[ ]

{#input-password-config-properties__table_vjc_3yd_qnb} {#input-password-config-properties__table_wcx_dqb_4fc__entry__2}

| Label \[property\] | Description |
|-|-|
| Value \[value\] | Value of the input field. Unless the input field has pre-populated data, leave this property empty. |
| Manage value \[manageValue\] | If set to true, overrides automatic updates to the Value property. Use the Input password value set event to intercept the requested change and handle it manually. Default: false |
| Identifier \[name\] | Reference name for the input field dispatched with the field value when the user interacts with the field. |
| Placeholder text \[placeholder\] | Hint text displayed in the input field before the user has entered a value. |
| Disable show password option \[disableUnmask\] | Disable the user's ability to view the password value in plain text using a Mask/Unmask button. |
| Text align \[align\] | Alignment of the text within the input field. |
[Table 1. Value]

{#input-password-config-properties__table_wcx_dqb_4fc} {#input-password-config-properties__table_hhl_lqb_4fc__entry__2}

| Label \[property\] | Description |
|-|-|
| Requirements \[requirements\] | Array of requirements for the user-entered password. Each requirement contains a label describing the requirement and the RegEx pattern against which the password must validate. Default: { "name": "label", "label": "Label", "fieldType": "string", "translatable": true }, { "name": "pattern", "label": "Pattern", "fieldType": "string" } |
| Place password requirements in icon \[compact\] | Displays password requirements in the input field popover instead of below the input field. Validation errors for passwords that fail to meet requirements appear below the input field. |
[Table 2. Requirements]

{#input-password-config-properties__table_hhl_lqb_4fc} {#input-password-config-properties__table_kbb_rqb_4fc__entry__2}

| Label \[property\] | Description |
|-|-|
| Label \[label\] | Text of the label. |
| Wrap label \[wrapLabel\] | If the label doesn't fit on one line, wraps the label. |
| Required \[required\] | Indicates that the user must enter a value in the input field before submitting the form. |
| Hide required indicator \[hideRequiredIndicator\] | Hides the required field indicator. Use this for forms in which most fields are required, together with the Optional flag for any fields that aren't required. |
| Optional \[optional\] | Adds a visual indicator marking a field that the user doesn't have to complete before submitting the form. |
[Table 3. Label]

{#input-password-config-properties__table_kbb_rqb_4fc} {#input-password-config-properties__table_ld5_vqb_4fc__entry__2}

| Label \[property\] | Description |
|-|-|
| Invalid \[invalid\] | Visually marks a field containing an invalid value. |
| Manage invalid \[manageInvalid\] | If set to true, overrides automatic updates to the Invalid property. Use the Input password invalid set event to intercept the requested change and handle it manually. Default: false |
| Alert messages \[messages\] | Array of alert messages that display below the field. The following list describes each object's properties: * `content`: The text of the alert message. * `status`: The type of alert to display. * `icon`: Icon to display at the start of the alert message. {#input-password-config-properties__ul_swq_2jh_b3c} Default: { "name": "content", "label": "Content", "fieldType": "string", "translatable": true }, { "name": "status", "label": "Status", "fieldType": "choice", "typeMetadata": { "choices": [ { "label": "Critical", "value": "critical" }, { "label": "Warning", "value": "warning" }, { "label": "Positive", "value": "positive" }, { "label": "Info", "value": "info" }, { "label": "Suggestion", "value": "suggestion" } ] } }, { "name": "icon", "label": "Icon", "fieldType": "icon" } |
[Table 4. Validation]

{#input-password-config-properties__table_ld5_vqb_4fc} {#input-password-config-properties__table_nyj_qrb_4fc__entry__2}

| Label \[property\] | Description |
|-|-|
| ARIA properties \[configAria\] | A JSON field for configuring ARIA properties, such as aria-braillelabel. |
[Table 5. Accessibility]

{#input-password-config-properties__table_nyj_qrb_4fc}

## Input Password component events {#ariaid-title3}

Select event handlers to configure the actions (events) provided with the Input Password component.
The Events tab shows the events used by the Input Password component. To view the available events, select + Add event mapping. Select the event in the list to add one or more event handlers.

### Event handlers {#input-password-config-events__section_xfr_gqm_bwb}

Event handlers work with data resources to link the Input Password actions to the data you want to display to your users. Select the event in the list to add one or more event handlers.

For instructions on adding event handlers to an event, see [Configure an event handler](https://www.servicenow.com/docs/8s23OEG1s5oowl~vaOUlLw "Add an event handler to a page, component, data resource, or declarative action within UI Builder so that your user can trigger an action.").

### Event descriptions {#input-password-config-events__section_rvp_kg1_twb}

{#input-password-config-events__table_vpr_jyd_qnb__entry__2}

| Event | Description |
|-|-|
| Input password invalid set | Dispatched when the user moves focus away from the field and the value is invalid. Payload: * `name`: String. Value of the name property. * `value`: Boolean. Value of the invalid property, which is based on the values of the required and pattern properties. * `fieldValue`: String. Value entered in the field. {#input-password-config-events__ul_avy_kps_xrb} |
| Input password value set | Dispatched when the user moves focus away from the field and the value is valid. Payload: * `name`: String. Value of the name property. * `value`: String. Value entered in the field. {#input-password-config-events__ul_l21_3qs_xrb} |
| Input password input | Dispatched when the user enters data in the field by typing or pasting text. The system does not validate the value or update the value property. Payload: * `name`: String. Value of the name property. * `data`: String. Value entered in the field that caused the event to fire. * `fieldValue`: String. Current value of the field when the event fired. {#input-password-config-events__ul_iww_nqs_xrb} |
[ ]

{#input-password-config-events__table_vpr_jyd_qnb}

