Forum

Thread tagged as: Problem, Runway, Field-Types

Composite-Field just generates a blank line

Hi, I want to use the File Type "Composite" (https://docs.grabaperch.com/templates/field-types/composite/) in a content template for a collection in Perch Runway (Version 3.0.14) to combine two Text Fields.

It just generates a blank line in admin interface and no form field where I could see the result of the automatic composition.

Is this an already known bug?

Thanks a lot for your time & help!

Lukas L

Lukas L 0 points

  • 3 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you show us your template?

Lukas L

Lukas L 0 points

Sure, here it is:

<perch:content id="name" type="text" label="Name" required="true" />
<perch:content id="adresse" type="text" label="Straße / Nr." required="true" />
<perch:content id="plz" type="text" label="Postleitzahl" required="true" />
<perch:content id="ort" type="text" label="Ort" required="true" />
<perch:content id="webseite" type="url" label="Webseite" required="true" />

<perch:content id="combination" type="composite" for="name ort" join="-" />

<perch:content id="beschreibung" type="textarea" label="Beschreibung" markdown="true" editor="simplemde" required="false" />
Drew McLellan

Drew McLellan 2638 points
Perch Support

Are the name and ort fields populating ok?

Lukas L

Lukas L 0 points

Yes, I think everything should be fine. I've made a screenshot with my inputs I've saved for testing:

Screenshot

The blank line (I've marked yellow) should be the Composite-Field.

Drew McLellan

Drew McLellan 2638 points
Perch Support

You're right, it shouldn't be generating a blank line. It should be completely invisible. We'll take a look at it in the next update.

Lukas L

Lukas L 0 points

Thank's a lot Drew for your time :)

I'll take a look at the next update.