/** * Changes formData on onChange event according to conditional rules. * uiSchema = { * "ui:options": { * rules: { // Can also be an array of rules * transformations: { * : * }, * conditions: { * : { // Note that regexp and length must both pass for this rule to pass. * regexp: * length: * reverse: * } * } * } * } * } */ export default class ConditionalOnChangeField extends React.Component { static propTypes: { uiSchema: PropTypes.Validator>> | NonNullable>>[] | null | undefined>>>; }>>>; uiSchema: PropTypes.Requireable; }>>>; schema: PropTypes.Validator; }>>>; formData: PropTypes.Validator; }; static getName(): string; constructor(props: any); constructor(props: any, context: any); getStateFromProps(): { onChange: (formData: any) => void; }; onChange: (formData: any) => void; } import * as React from "react"; import * as PropTypes from "prop-types";