![]() |
Existing Text Input widgets with Number selected as Type will still work in published experiences, but editing widget data is locked. Use the new Number Input widget to include numerical input in your experience. Additionally, we do recommend replacing all existing numeric Text Input widgets with Number Input widgets, as all remaining Text Input widgets with Number set for Type will be automatically updated in the 9.26 release.
|
Property
|
JavaScript
|
Type
|
Description
|
||
Align
|
textalign
|
string
|
Select one of the following.
• Left
• Center
• Right
|
||
Type
|
inputType
|
string
|
This field is not editable.
|
||
Label Position
|
type
|
string
|
Select one of the following.
• Placeholder—text box with only a placeholder attribute. Setting the label is ignored completely.
• Inline Label—label appears on the left and text input is to the right of it.
• Stacked Label— label appears at the top and the text input is below it.
• Floating Label— label appears at the top and the text input is below it.
|
Minimum Steps Required for Use
|
What It Looks Like
|
1. Drag and drop a Text Input widget onto the canvas.
2. Enter placeholder text in the Placeholder field if you want to give the user some direction as to what should be entered in the text area. For this example, we’ve selected the Inline Label option for the Label Position property so we could pre-define what value we wanted them to enter to the right of the label. Then, the placeholder text we specified in the Placeholder field shows to the right of the Oil Level label.
|
![]() |