Represents a private interface for an input field.

interface ITextFieldPrivate<Data = IAnything> {
    dirty: boolean;
    disabled: boolean;
    incorrect: null | string;
    invalid: null | string;
    loading: boolean;
    name: string;
    onChange: (v: any, config?: { skipReadonly?: boolean }) => void;
    value: any;
}

Type Parameters

  • Data = IAnything

    The type of data managed by the input field.

Properties

dirty: boolean
disabled: boolean
incorrect: null | string
invalid: null | string
loading: boolean
name: string
onChange: (v: any, config?: { skipReadonly?: boolean }) => void
value: any