From: Robert Sesek Date: Sun, 15 Mar 2020 00:31:14 +0000 (-0400) Subject: Stringify line values, in case they are complex. X-Git-Tag: 1.0.0~12 X-Git-Url: https://src.bluestatic.org/?a=commitdiff_plain;h=d59e7651045f3c4de5f48b7bb65a866a606c1836;p=ustaxviewer.git Stringify line values, in case they are complex. --- 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}; }