# FieldChangeDetails (@salmonui/calendars/date-field)

> The FieldChangeDetails interface of @salmonui/calendars/date-field: Second argument of onValueChange on the segmented fields.

Canonical: https://salmonui.dev/docs/reference/calendars/date-field/FieldChangeDetails

```ts
import type { FieldChangeDetails } from '@salmonui/calendars/date-field';
```

Also exported from `@salmonui/calendars/date-picker`, `@salmonui/calendars/time-picker`.

Entry index: https://salmonui.dev/docs/reference/calendars/date-field (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/calendars/date-field.md).

## Reference

Kind: interface

```ts
interface FieldChangeDetails {
    readonly source: 'keyboard' | 'pointer' | 'api';
    readonly reason: 'input' | 'paste' | 'clear' | 'blur';
    readonly iso: string;
    readonly epochMilliseconds?: number;
}
```

Second argument of `onValueChange` on the segmented fields.

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `source` | `readonly source: 'keyboard' \| 'pointer' \| 'api';` |  |  |
| `reason` | `readonly reason: 'input' \| 'paste' \| 'clear' \| 'blur';` |  |  |
| `iso` | `readonly iso: string;` |  | ISO form value (`YYYY-MM-DD`, `YYYY-MM`, `YYYY`, `YYYY-MM-DDTHH:mm[:ss]`, `HH:mm[:ss]`); `''` when empty. |
| `epochMilliseconds` | `readonly epochMilliseconds?: number;` | optional | The instant of a date-time value when `timeZone` is given. |
