> For the complete documentation index, see [llms.txt](https://vue-generators.gitbook.io/vue-generators/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vue-generators.gitbook.io/vue-generators/fields/core-fields/label.md).

# label

This is a text label for non-editable values (e.g. timestamp, creation time...etc)

## Special properties of field

There is no any special properties.

## Usage

```javascript
{
    type: "label",
    label: "Created",
    model: "created"
}
```

Or you can format the value with `moment`:

```javascript
{
    type: "label",
    label: "Created",
    model: "created",
    get: function(model) { 
      return model && model.created ? moment(model.created).format("LLL") : "-"; 
    }
}
```
