From 0037056ee81058e4941765759103e547656aedb3 Mon Sep 17 00:00:00 2001 From: Oliver Date: Tue, 29 Jun 2021 09:26:40 +1000 Subject: [PATCH] Better default renderer --- InvenTree/templates/js/forms.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/templates/js/forms.js b/InvenTree/templates/js/forms.js index 7f66a9fd30..e388acf00c 100644 --- a/InvenTree/templates/js/forms.js +++ b/InvenTree/templates/js/forms.js @@ -801,7 +801,7 @@ function renderModelData(name, model, data, parameters, options) { } else { console.log(`ERROR: Rendering not implemented for model '${model}'`); // Simple text rendering - return data.id; + return `${model} - ID ${data.id}`; } }