From d59e7651045f3c4de5f48b7bb65a866a606c1836 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 14 Mar 2020 20:31:14 -0400 Subject: [PATCH] Stringify line values, in case they are complex. --- src/FormView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FormView.tsx b/src/FormView.tsx index 2f23583..4ad7f96 100644 --- a/src/FormView.tsx +++ b/src/FormView.tsx @@ -34,7 +34,7 @@ function Line(props: { tr, line }) { const { tr, line } = props; const value = createMemo(() => { try { - return line.value(tr); + return JSON.stringify(line.value(tr)); } catch (e) { return {e.message}; } -- 2.22.5