Custom Value Template Lookup Filed

I try to config my value template but it doesn't work. I tried 2 code below.


Person is column type Person.

It show value like this:
image
But when I choose value, it shows me:
image

I am working on SP 2019. Did I have wrong something? Thanks

Hello @minh_cuong_le,

You can customize the template of the lookup field search results only. The selected value is the value of the column that you select in the column settings:
image

I don't understand this code meaning. Can you explain for me?

Hello @minh_cuong_le,

I'm sorry, the documentation was not up to date.

Single choice lookup field is built using kendoComboBox. Its configuration parameters can be found here.