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

# Number Picker

```
SoftUI.formTypes.numberPicker(min, max, disabled),
```

<ParamField path="min" type="number" required>
  The minimum value of the number picker
</ParamField>

<ParamField path="disabled" type="number" required>
  The maximum value of the number picke
</ParamField>

<ParamField path="disabled" type="boolean" required>
  Indicate if the picker should be shown as disabled
</ParamField>

## Data required for getActualSet function

Number

## Data returned

Number | or null

## Example Usage

```javascript theme={null}
{
    optionId: "amount_of_warn",
    optionName: "Warning amount",
    optionDescription: "After how many warns should I mute a user?",
    optionType: SoftUI.formTypes.numberPicker(1, 10, false),
    getActualSet: ({ guild }) => {
      return warnAmount[guild.id];
    },
    setNew: ({ guild, newData }) => {
      warnAmount[guild.id] = newData;
      return;
    },
},
```

## Image

<Frame>
  <img src="https://mintcdn.com/assistantscenter/e0fzjuWUPc5-sSJC/images/formtypes/softui-numberpicker.png?fit=max&auto=format&n=e0fzjuWUPc5-sSJC&q=85&s=aae6d1d91644b5b011447ee0684a9df3" width="440" height="218" data-path="images/formtypes/softui-numberpicker.png" />
</Frame>
