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
placeholder
on a text-input
main.view.xml
Default placeholder value per component
UI component | Default placeholder |
---|---|
"Select date" | |
"Select date" and "Select time" | |
"No model found" | |
"No value selected" | |
"No value selected" | |
"Enter " + the |
Last updated