> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tappify.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# TapFormProps

> The props TapForm takes.

The props `TapForm` takes.

## Type Parameters

### T

`T`

## Properties

### busy?

```ts theme={null}
optional busy?: boolean;
```

Marks the submit button busy and disables it while a submit is in flight.

***

### cancelLabel?

```ts theme={null}
optional cancelLabel?: string;
```

Defaults to `Cancel`.

***

### onCancel?

```ts theme={null}
optional onCancel?: () => void;
```

Renders a cancel button next to submit, and is called by it.

#### Returns

`void`

***

### onSubmit

```ts theme={null}
onSubmit: (value) => void | Promise<void>;
```

Called with the cleaned value once validation passes.

#### Parameters

##### value

`T`

#### Returns

`void` | `Promise`\<`void`>

***

### schema

```ts theme={null}
schema: JsonSchema;
```

The object schema to render, one control per declared property.

***

### submitLabel?

```ts theme={null}
optional submitLabel?: string;
```

Defaults to `Submit`.

***

### value?

```ts theme={null}
optional value?: Partial<T>;
```

The value the fields start at; later changes to it do not reset the form.
