# MaskedChangeDetails (@salmonui/inputs/masked-field)

> The MaskedChangeDetails interface of @salmonui/inputs/masked-field: Second argument of onValueChange.

Canonical: https://salmonui.dev/docs/reference/inputs/masked-field/MaskedChangeDetails

```ts
import type { MaskedChangeDetails } from '@salmonui/inputs/masked-field';
```

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

## Reference

Kind: interface

```ts
interface MaskedChangeDetails {
    readonly source: 'keyboard' | 'pointer' | 'api';
    readonly reason: 'input' | 'paste' | 'delete' | 'clear' | 'reset';
    readonly masked: string;
    readonly complete: boolean;
}
```

Second argument of `onValueChange`.

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `source` | `readonly source: 'keyboard' \| 'pointer' \| 'api';` |  |  |
| `reason` | `readonly reason: 'input' \| 'paste' \| 'delete' \| 'clear' \| 'reset';` |  |  |
| `masked` | `readonly masked: string;` |  | The value with literals and placeholder characters. |
| `complete` | `readonly complete: boolean;` |  | True when every required position is filled. |
