/** * Injects given fields value as default value to target field. * uiSchema = { "ui:options": { * "injections": [ * { * "fields": [field1, field2...], (fields to inject from source field) * "target": fieldName (target field where default value is injected) * "source": fieldName (source field where default value is injected from. Must be object field) * } * ... * ] * }} */ export default class InjectDefaultValueField extends React.Component { static propTypes: { uiSchema: PropTypes.Validator; target: PropTypes.Validator; source: PropTypes.Validator; }>>>; }>>>; 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";