# InputState

Source: https://pakdatakit.dev/api/typescript/input/type-aliases/inputstate/

```ts
type InputState = "empty" | "incomplete" | "valid" | "invalid";
```

Defined in: [input.ts:14](https://github.com/chmuzamil/pakdatakit/blob/a6eeaa47381308c4e4fcda45b29642fe4fbfb1fc/src/input.ts#L14)

State of a form field while the user is typing.

- `empty`: nothing entered yet
- `incomplete`: what has been typed so far can still become valid
- `valid`: complete and valid
- `invalid`: cannot become valid by typing more (wrong character, prefix or length)
