user3198596
user3198596

Reputation: 3

flux TCA db group

I would like to know how this:

<flux:flexform.field.group name="abc" label="abc" internalType="db" allowed="pages" maxItems="1" minItems="0" size="1" displayCond="FIELD:settings.typ.choose:=:4" />

would look in FLUX 7.1.2

I tried with relations and wizard and inline but it never did what I would have liked. All I can find while searching is that I have to use relation but never how to use it. This didn't help either

Any ideas?

Upvotes: 0

Views: 374

Answers (1)

Cedric Ziel
Cedric Ziel

Reputation: 1052

Your given example should roughly match this one:

<flux:field.relation maxItems="1" minItems="0"
                     size="1" displayCond="FIELD:settings.typ.choose:=:4"
                     table="pages" name="abc" label="abc">
    <flux:wizard.list table="pages" />
</flux:field.relation>

Upvotes: 1

Related Questions