V
V
VueJS Generators
GitHub
NPM
JSFiddle
CodePen
Search…
1.0.0
Getting Started
Installation
Usage
Component
Fields
Field Properties
Core Fields
checkbox
checklist
input
label
radios
select
submit
textArea
Optional Fields
Custom Fields
Groups
Validation
Powered By
GitBook
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
1
{
2
type
:
"label"
,
3
label
:
"Created"
,
4
model
:
"created"
5
}
Copied!
Or you can format the value with
moment
:
1
{
2
type
:
"label"
,
3
label
:
"Created"
,
4
model
:
"created"
,
5
get
:
function
(
model
)
{
6
return
model
&&
model
.
created
?
moment
(
model
.
created
).
format
(
"LLL"
)
:
"-"
;
7
}
8
}
Copied!
Previous
input
Next
radios
Last modified
3yr ago
Copy link
Contents
Special properties of field
Usage