Hint
Setting a timeline hint
Any timeline element can accept a hint
property. This will display the hint text in the input field.
e.g.
Hint order of preference
Hints are set in the following order of preference, using the first one available:
- Hint set on a secure input node - only used if a secure input node is used and it has a hint set in said node.
- Hint set on a timeline element with the
hint
property.
- Numeric input default hint - only used if numeric input is enabled and none of the previous hints are used.
- Placeholder text set with a URL query parameter in L2 with
placeholderText
e.g. ?endpoint=some-endpoint&placeholderText=Type%20a%20message
- Placeholder text set in an endpoint’s internalization settings with the
placeholder
property e.g.:
- Default placeholder text (‘Write a message’)