# Numeric with buttons

<figure><img src="/files/oEB25JphlQEM3EgTNIGn" alt=""><figcaption></figcaption></figure>

## Input combo type number.buttons

Displays an input field that accepts only numbers. It also includes a pair of buttons to increment or decrement the current value in the field. The decimal mark is a dot (`.`).

## Usage example

```xml
<form>
    <inputcombo
        type="number.buttons"
        id="variable_value_button"
        label="Variable value button using"
        description="Set the value that you want to send using buttons"
        placeholder="Enter the value that you want to send"
        min="-100"
        max="100"
        step = "2"
        value = "48"
    />
</form>
```

## Properties

These properties are shared by input combo type number and input combo type number.buttons:

* `id`: Unique identifier for accessing this field's data
* `label`: Header text
* `description`: Short descriptive text
* `placeholder`: Placeholder value
* `shape`: Used to align the label and the input field. Allowed values:
  * `compactVertical`
  * `wideVertical`
  * `wideHorizontal`
* `min`: Minimum number accepted
* `max`: Maximum number accepted
* `step`: Step when increasing or decreasing the number using the buttons.
* `value`: Sets a default value. Although this is a number field, the property value must be set as a string (`value="48"`)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dev.ubidots.com/dashboards-and-widgets/custom-ui/input-combo/numeric-with-buttons.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
