Refer to the current item in blueprints list for conditionnal field

#1

Hello People,

i’m wondering how to refer to the current item in a blueprint list for a conditional field ?

here is my code ;

extends@: default

form:
  fields:
    tabs:
      fields:
        content:
          fields:

            partenaires:
              type: section
              title: Partenaires
              underline: true
              fields:
                header.partenaires:
                  name: Partenaires
                  type: list
                  label: Liste des partenaires
                  btnLabel: Ajouter un partenaire
                  fields:
                    .image:
                      type: pagemediaselect
                      label: Image
                      preview_images: true
                    .name:
                      type: text
                      label: Titre
                    .description:
                      type: textarea
                      label: Description
                    .url:
                      type: text
                      label: Url
                      validate:
                        type: url
                    .location:
                      type: toggle
                      label: Location
                      highlight: 1
                      default: 0
                      options:
                        1: Activé
                        0: Désactivé
                      validate:
                        type: bool
                    .is_location:
                      type: conditionnal
                      condition: "page.header.partenaires.location.enabled ? 'true' : 'false'"
                      fields:
                        .date:
                          type: datetime
                          label: Date de fin de location**strong text**