Textfield as input for a fieldgroup

Hi.
In an entity i have s String whose content is related to a possibly lengthy description of a problem.

I can add the field to a fieldgroup, so that it can be seen or edited, but it only shows a single line editing zone, while it would be much more appropriate and user friendly to have a multiline editor. I found no way to change that component. Is there any chance that this is possible?

Thanks.

Hi,

You can add the rows attribute to the FieldGroup’s field in order to convert it to the TextArea component.

<field property="description" rows="5"/>

Moreover, if an entity’s String attribute is marked as unlimited then the rows attribute is added by default during the screen creation by Studio.

54

Gleb

Weird. I was about to say “been there, done that”, but double checked and my forms had no rows attribute set. I am absolutely certain i did. That’s life. Moving on.

Thanks for your input, have a great day.

1 Like