Fully functional implementation of the foreignKey

This commit is contained in:
2025-01-21 18:14:31 +01:00
committed by ewandor
parent 829d16c1c4
commit 38c5a69130
8 changed files with 41 additions and 33 deletions

View File

@@ -1,8 +1,7 @@
import TextWidget from "@rjsf/core/lib/components/widgets/TextWidget";
import {FormContextType, getTemplate, RJSFSchema, StrictRJSFSchema, WidgetProps} from "@rjsf/utils";
import {ForeignKeyWidget} from "./foreign-key";
import { FormContextType, RJSFSchema, StrictRJSFSchema, WidgetProps } from "@rjsf/utils";
import { ForeignKeyWidget } from "./foreign-key";
export default function CrudTextWidget<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(
props: WidgetProps<T, S, F>