Show feature name in QField line layer

Hello,
I’m encountering an issue in QField with a line layer in my project. After adding a new line, when I select the created line, instead of seeing the assigned name, I’m presented with the number of records in my database. Interestingly, the point layer in the same project displays the assigned name correctly, with identical attribute configurations in properties.

Does anyone have any insights on how to resolve this problem?

Thank you.


Imported from GitHub discussion by @mahmoodi-source on 2024-03-19T10:58:16Z

Please get familiar with feature display settings: The Vector Properties Dialog — QGIS Documentation documentation


Imported from GitHub comment by @suricactus on 2024-03-25T13:19:18Z