Page title in blueprint field

When I create a new page using the panel I want to populate a blueprint field with the title of the created page. I used to use this in Kirby 3 → default: “{{ page.title }}” and it worked.

However, in Kirby 5 the value that is shown in the field is “_new_“ instead of the actual page title added by the user in the page creation dialog.

Could you please post your blueprint, thanks.

I am sorry for the late reply. This is the blueprint:

title: Analysis
num: '{{ page.date.toDate("Ymd") }}'
icon: 🔖

options:
  read: # only these roles can access the page
    reviewer: false
    editor: true
    admin: true

status:
  draft:
    label: Draft
    text: The analysis is still in draft mode. It can only be seen by editors with panel access.
  listed:
    label: Published
    text: The analysis is online and listed in the reports page

columns:
  main:
    width: 2/3
    fields:
      text:
        type: textarea
        size: large

  sidebar:
    width: 1/3
    sections:
      meta:
        type: fields
        fields:
          date:
            type: date
            time: true
            default: now
          editor:
            label: Editor Name
            type: text
            default: Admin
          country:
            label: Country
            type: textarea
            default: "{{ page.title }}"
            disabled: true
          togglePublish:
            label: Publish
            type: toggle
            text: Publish Analysis
            default: true

I can reproduce the issue, and guess it has to do with the page creation dialog. Need to debug, but IMO, this is a bug, where the string template replacement does not work properly.

Thank you for your prompt reply. Should I open a github issue then for this?

Yes, please do