Links

placeholder

Optional
Type: string (static text, a format string or the return value of a JS/TS function)
Default: Depends on the component. See the reference table below.
Override the default placeholder text for the input component.
Note: once the user entered a value the placeholder is no longer visible.

Example - placeholder on a text-input

main.view.xml
<var name="notes" type="text"/>
​
<text-input bind="notes" placeholder="Notes"/>

Default placeholder value per component

UI component
Default placeholder
​date-input​
"Select date"
​datetime-input​
"Select date" and "Select time"
​display-3d-model​
"No model found"
​object-dropdown​
"No value selected"
"No value selected"
​text-input​
"Enter " + the text-input label
Last modified 4mo ago