# Function: titleField()

```ts
function titleField(schema): string | null;
```

Defined in: [packages/core/src/schema/quick-add.ts:31](https://github.com/leifriksheim/minca/blob/main/core/src/schema/quick-add.ts#L31)

The field that names a record: a conventional name, else the first required text, else the first text

## Parameters

| Parameter | Type |
| ------ | ------ |
| `schema` | [`JsonSchema`](https://minca.dev/api/core/type-aliases/JsonSchema.md) \| `null` |

## Returns

`string` \| `null`
