Files
bknd/app/src/ui/modules/flows/components/tasks/RenderTaskComponent.tsx
T
dswbx 1ef2287d34 replace LiquidJs rendering with simplified renderer
Removed dependency on LiquidJS and replaced it with a custom templating solution using lodash `get`. Updated corresponding components, editors, and tests to align with the new rendering approach. Removed unused filters and tags.
2025-04-29 11:09:58 +02:00

20 lines
508 B
TypeScript

import { TaskForm } from "../form/TaskForm";
import { TaskComponent, type TaskComponentProps } from "./TaskComponent";
export function RenderTaskComponent(props: TaskComponentProps) {
const { task } = props.data;
return (
<TaskComponent {...props}>
<TaskForm
task={task}
onChange={console.log}
uiSchema={{
render: {
"ui:field": "HtmlField",
},
}}
/>
</TaskComponent>
);
}