mcp: improve auth id type + styling fixes

This commit is contained in:
dswbx
2025-08-21 10:58:31 +02:00
parent f9184a71db
commit dcf88cf587
8 changed files with 110 additions and 99 deletions

View File

@@ -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;

View File

@@ -109,7 +109,7 @@ export function Form<
const formRef = useRef<HTMLFormElement | null>(null);
useEffect(() => {
if (initialValues) {
if (initialValues && validateOn === "change") {
validate();
}
}, [initialValues]);