diff --git a/packages/uniforms/src/BaseForm.tsx b/packages/uniforms/src/BaseForm.tsx index 79df4f87b..b62c1ab81 100644 --- a/packages/uniforms/src/BaseForm.tsx +++ b/packages/uniforms/src/BaseForm.tsx @@ -26,7 +26,6 @@ export type BaseFormProps = { noValidate: boolean; onChange?: (key: string, value: unknown) => void; onSubmit: (model: Model) => void | Promise; - placeholder?: boolean; readOnly?: boolean; schema: Bridge; showInlineError?: boolean; @@ -175,8 +174,11 @@ export class BaseForm< getNativeFormProps(): { [key: string]: unknown; - onSubmit: BaseForm['onSubmit']; + children?: React.ReactNode; + id?: BaseFormProps['id']; key: string; + noValidate: BaseFormProps['noValidate']; + onSubmit: BaseForm['onSubmit']; } { const props = omit(this.props, [ 'autosave',