---
title: "Choice Data Type"
description: "The Choice Data Type property of the Select field lets you specify the format for the Add Choice property. Click here to learn more on Contentstack."
url: "https://www.contentstack.com/docs/headless-cms/choice-data-type"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-07-22"
---

# Choice Data Type

The **Choice Data Type** property of the [**Select**](/docs/headless-cms/select) field lets you specify the format for the [**Add Choice**](/docs/headless-cms/add-choices) property.

Under this property, you have the following options:

*   **Text**: Allows you to add only text in the choices list
*   **Number**: Allows you to add only integers in the choices list

**Warning**: If you change the data type after entering the choices, the values added as choices may be lost.

![choice-data-type.png](https://images.contentstack.io/v3/assets/blt2d43f51baca745a8/blt99a32318b3cc1994/65ceee58719d5676fae867eb/choice-data-type.png)

**Additional Resources**: If you want to set this property to the **Select** field when [creating your content type via an API request](/docs/developers/apis/content-management-api/content-types#create-a-content-type), refer to the JSON payload of the [Select](/docs/headless-cms/json-schema-for-creating-a-content-type#select) field and the [Field parameters](/docs/headless-cms/json-schema-for-creating-a-content-type#field-parameters-explained) section.  
  
Changing an existing field property may result in loss of data. To avoid such, check out our [Content Type Change Management](/docs/headless-cms/content-type-change-management) guide before you go ahead.