mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-17 12:56:05 +00:00
mcp: improve auth id type + styling fixes
This commit is contained in:
@@ -13,7 +13,6 @@ import {
|
||||
useFormValue,
|
||||
} from "./Form";
|
||||
import { getLabel, getMultiSchemaMatched } from "./utils";
|
||||
import { FieldWrapper } from "ui/components/form/json-schema-form/FieldWrapper";
|
||||
|
||||
export type AnyOfFieldRootProps = {
|
||||
path?: string;
|
||||
|
||||
@@ -109,7 +109,7 @@ export function Form<
|
||||
const formRef = useRef<HTMLFormElement | null>(null);
|
||||
|
||||
useEffect(() => {
|
||||
if (initialValues) {
|
||||
if (initialValues && validateOn === "change") {
|
||||
validate();
|
||||
}
|
||||
}, [initialValues]);
|
||||
|
||||
Reference in New Issue
Block a user