From 9a9faa72a13d62806c7f056efe85b09cc797552f Mon Sep 17 00:00:00 2001 From: catosaurusrex2003 Date: Sun, 12 Jan 2025 14:30:22 +0530 Subject: [PATCH] almost everything added --- library/src/components/Payload.tsx | 93 ++++++++++++++++++++++++++---- 1 file changed, 82 insertions(+), 11 deletions(-) diff --git a/library/src/components/Payload.tsx b/library/src/components/Payload.tsx index 006a59d86..ea2a8a876 100644 --- a/library/src/components/Payload.tsx +++ b/library/src/components/Payload.tsx @@ -156,6 +156,13 @@ export const Payload: React.FunctionComponent = ({ uid: {uid} )} + {/* TODO: find out if below is really needed ?? + cuz schema.const() is already shown in a strict manner in Rules and Constraints */} + {SchemaHelpers.prettifyValue(schema.const(), false) && ( + + {SchemaHelpers.prettifyValue(schema.const(), false)} + + )} {isExpandable && !isCircular && !isArray && (