Display value for Belongs To fields

I have a model with fields that reference shopifyCustomer and in the data view I just see the ID number, which isn't validating the reference. The AI is saying you can configure the display value for the field but I'm guessing maybe it's hallucinating that? https://clhom.gadget.app/edit/development/model/FxxSu5oHu7sj/field/tvnwOsRJP6P8
No description
No description
5 Replies
Chocci_Milk
Chocci_Milk5mo ago
Hello, What do you mean by validating the reference? Are you talking about making sure that the customer with record id 1 exists? To answer your question about the assistant's response, that's incorrect Well, technically, its partially wrong. You can add a custom js validation to check if the parent record exists
kalenjordan
kalenjordanOP5mo ago
ok got it
Chocci_Milk
Chocci_Milk5mo ago
Wait, no. What it's saying is completely wrong. You can't change whats displayed in the data viewer We don't fetch related model data there Are you trying to add some computed data to the model?
kalenjordan
kalenjordanOP5mo ago
right yeah I was clear on that actually - no not trying to add computed data at the moment just wanted to understand the out of the box functionality

Did you find this page helpful?