# Enumeration

Named numbers ex. Grades

### Properties

- Type: [Basic](https://docs.tsnocode.com/books/field-type-reference/chapter/basic)
- Groupable: Yes
- Show in lists: Yes
- Searchable: Yes
- Requires configuration: Yes

## <span class="mw-headline" id="bkmrk-user-interface-1">User interface</span>

<span class="mw-headline">Field in show mode</span>

<span class="mw-headline">\[INSERT IMAGE\]</span>

<span class="mw-headline">Field in edit mode</span>

<span class="mw-headline">\[INSERT IMAGE\]</span>

## <span class="mw-headline" id="bkmrk-configuration-1">Configuration</span>

[![image.png](https://docs.tsnocode.com/uploads/images/gallery/2025-07/scaled-1680-/ugZPw0fBgoBWDVar-image.png)](https://docs.tsnocode.com/uploads/images/gallery/2025-07/ugZPw0fBgoBWDVar-image.png)

Required:

- Values must be integers
- There should be one name for each value

Options:

- Options van be colored using the # syntax

```
 Option 1 #red
 Option 2 #blue
 ...
```

- Translations should be prefixed only once with the language qualifier

```
 en:Option 1
 Option 2
 Option 3
 ge:Wahl 1
 Wahl 2
 Wahl 3
```

## <span class="mw-headline" id="bkmrk-developer-info-1">Developer info</span>

- FeltTypeID: 18
- SQL datatype: INT(11)
- Class name: FieldNumberIntegerEnumeration