How to put a placeholder in create screen

Hi community,

I want to ask, how I can add a placeholder to a field of a column of a create screen.

If I use placeholder=“Integer Value” for a field in column (XML), it doesnt work.

Does anyone have a hint for me?



Unfortunately, it cannot be set from XML if you use FieldGroup. Inject the target field and assign inputPrompt property programmatically:

private TextField nameField;
// ...
// for instance, we can get hint text from

See also: XML-Attributes of Components - CUBA Platform. Developer’s Manual

We are planning to introduce inputPrompt for FieldGroup declarative fields in the next minor release 6.9: