diff --git a/react-jsonschema-form/index.d.ts b/react-jsonschema-form/index.d.ts index 6786862ea8..6ac5f40109 100644 --- a/react-jsonschema-form/index.d.ts +++ b/react-jsonschema-form/index.d.ts @@ -1,6 +1,6 @@ -// Type definitions for react-jsonschema-form 0.38.1 +// Type definitions for react-jsonschema-form 0.43.0 // Project: https://github.com/mozilla-services/react-jsonschema-form -// Definitions by: Dan Fox +// Definitions by: Dan Fox , Jon Surrell // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.1 @@ -14,6 +14,7 @@ declare module "react-jsonschema-form" { widgets?: {}; fields?: {}; noValidate?: boolean; + noHtml5Validate?: boolean; showErrorList?: boolean; validate?: (formData: any, errors: any) => any; onChange?: (e: IChangeEvent) => any; diff --git a/react-jsonschema-form/react-jsonschema-form-tests.tsx b/react-jsonschema-form/react-jsonschema-form-tests.tsx index 9f2c05086d..c8d49a7628 100644 --- a/react-jsonschema-form/react-jsonschema-form-tests.tsx +++ b/react-jsonschema-form/react-jsonschema-form-tests.tsx @@ -78,6 +78,7 @@ export class Example extends React.Component { uiSchema={uiSchema} showErrorList={false} noValidate={false} + noHtml5Validate={false} formData={this.state} onChange={(formData) => this.setState({formData})} /> }