();
+ const compile = useCompile();
+
if (!isValid(props.value)) {
return ;
}
@@ -25,7 +28,7 @@ export const ReadPretty = observer((props: any) => {
{options.map((option, key) => (
- {option[fieldNames.label]}
+ {compile(option[fieldNames.label])}
))}