# Interface DiscreteField

#### Description

Interface for individual field instances, such as BirthdateField

#### Example

    new sheerid.BirthdateField().setValue('2000-01-01');

interface DiscreteField {
getValue(): any;
onChange(callback): void;
render(): void;
setIsErrored(value): void;
setValue(value): void;
}

- Defined in src/lib/types/types.ts:342

#####
Index

### Methods

getValue
onChange
render
setIsErrored
setValue

## Methods

### getValue

- getValue(): any

- #### Returns any

  - Defined in src/lib/types/types.ts:343

### onChange

- onChange(callback): void

- #### Parameters

  - callback: Function

  #### Returns void

  - Defined in src/lib/types/types.ts:345

### render

- render(): void

- #### Returns void

  - Defined in src/lib/types/types.ts:347

### setIsErrored

- setIsErrored(value): void

- #### Parameters

  - value: boolean

  #### Returns void

  - Defined in src/lib/types/types.ts:346

### setValue

- setValue(value): void

- #### Parameters

  - value: any

  #### Returns void

  - Defined in src/lib/types/types.ts:344