@@ -10,7 +10,7 @@ module.exports = {
10
10
fields : [
11
11
{
12
12
type : "text" ,
13
- label : "ID" ,
13
+ label : "ID (disabled text field) " ,
14
14
model : "id" ,
15
15
readonly : true ,
16
16
editableIfNew : true , // TODO
@@ -19,7 +19,7 @@ module.exports = {
19
19
} ,
20
20
{
21
21
type : "select" ,
22
- label : "Type" ,
22
+ label : "Type (select field) " ,
23
23
model : "type" ,
24
24
required : true ,
25
25
values : [
@@ -70,7 +70,7 @@ module.exports = {
70
70
} ,
71
71
{
72
72
type : "password" ,
73
- label : "Password" ,
73
+ label : "Password (password field) " ,
74
74
model : "password" ,
75
75
min : 6 ,
76
76
required : true ,
@@ -81,7 +81,7 @@ module.exports = {
81
81
82
82
{
83
83
type : "selectEx" ,
84
- label : "Skills" ,
84
+ label : "Skills (selectEx field) " ,
85
85
model : "skills" ,
86
86
multi : true ,
87
87
required : true ,
@@ -128,7 +128,7 @@ module.exports = {
128
128
} ,
129
129
{
130
130
type : "email" ,
131
- label : "E-mail" ,
131
+ label : "E-mail (email field) " ,
132
132
model : "email" ,
133
133
placeholder : "User's e-mail address"
134
134
} ,
@@ -145,15 +145,15 @@ module.exports = {
145
145
} ,
146
146
{
147
147
type : "masked" ,
148
- label : "Mobile" ,
148
+ label : "Mobile (masked field) " ,
149
149
model : "mobile" ,
150
150
mask : "(99) 999-9999" ,
151
151
styleClasses : "half-width" ,
152
152
validator : validators . required
153
153
} ,
154
154
{
155
155
type : "spectrum" ,
156
- label : "Color" ,
156
+ label : "Color (spectrum field) " ,
157
157
model : "favoriteColor" ,
158
158
required : true ,
159
159
colorOptions : {
@@ -163,7 +163,7 @@ module.exports = {
163
163
} ,
164
164
{
165
165
type : "image" ,
166
- label : "Avatar" ,
166
+ label : "Avatar (image field) " ,
167
167
model : "avatar" ,
168
168
required : true ,
169
169
browse : true ,
@@ -172,7 +172,7 @@ module.exports = {
172
172
} ,
173
173
{
174
174
type : "number" ,
175
- label : "Age" ,
175
+ label : "Age (number field) " ,
176
176
model : "age" ,
177
177
multi : true ,
178
178
disabled : true ,
@@ -187,7 +187,7 @@ module.exports = {
187
187
} ,
188
188
{
189
189
type : "dateTime" ,
190
- label : "DOB" ,
190
+ label : "DOB (dateTime field) " ,
191
191
model : "dob" ,
192
192
required : true ,
193
193
placeholder : "User's birth of date" ,
@@ -236,7 +236,7 @@ module.exports = {
236
236
237
237
{
238
238
type : "slider" ,
239
- label : "Rank" ,
239
+ label : "Rank (slider field) " ,
240
240
model : "rank" ,
241
241
multi : true ,
242
242
min : 1 ,
@@ -289,12 +289,13 @@ module.exports = {
289
289
{ id : "it" , name : "Italic" } ,
290
290
{ id : "fr" , name : "French" }
291
291
] ,
292
+ hint : "Your native language" ,
292
293
styleClasses : "half-width" ,
293
294
validator : validators . required
294
295
} ,
295
296
{
296
297
type : "selectEx" ,
297
- label : "Country" ,
298
+ label : "Country (selectEx field) " ,
298
299
model : "address.country" ,
299
300
multi : true ,
300
301
required : true ,
@@ -390,13 +391,13 @@ module.exports = {
390
391
} ,
391
392
{
392
393
type : "label" ,
393
- label : "Created" ,
394
+ label : "Created (label field) " ,
394
395
model : "created" ,
395
396
get ( model ) { return model && model . created ? moment ( model . created ) . format ( "LLL" ) : "-" ; }
396
397
} ,
397
398
{
398
399
type : "switch" ,
399
- label : "Status" ,
400
+ label : "Status (switch field) " ,
400
401
model : "status" ,
401
402
multi : true ,
402
403
default : true ,
@@ -405,7 +406,7 @@ module.exports = {
405
406
} ,
406
407
{
407
408
type : "textArea" ,
408
- label : "Biography" ,
409
+ label : "Biography (textArea field) " ,
409
410
model : "bio" ,
410
411
hint : "Max 500 characters" ,
411
412
max : 500 ,
0 commit comments