How to use another field except name/id on doctype Linked Document?

Hallo, how to use another field except name/id on doctype linked document?
For example, there is 2 doctype

  1. Projek

    • kode_projek (mandatory)
    • for example i have Projek kode_projek = HO
  2. Lokasi Absen (Naming format:{projek} - {nama})

    • nama (mandatory)
    • projek (mandatory, link to projek doctype)
    • for example i have Lokasi Absen nama = Rumah, projek = HO
    • name = HO - Rumah

on Lokasi Absen doctype i want to make Linked Document to Projek with rule
Projek.kode_projek = Lokasi Absen.projek

i already did this

but when i click projek (linked document button to projek), Projek doctype filter is ID equal Lokasi Absen.name (HO - Rumah), not Lokasi Absen.projek (HO)

Im using Frappe Framework: v15.43.0 (version-15)