This commit is contained in:
parent
8db5fd03a2
commit
f738754f04
@ -58,6 +58,16 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"validator": {
|
||||
"type": "object",
|
||||
"description": "field validator",
|
||||
"properties": {
|
||||
"eval": {
|
||||
"type": "string",
|
||||
"description": "javascript validator which failes if evaluates to false or string as error message, with following variables: $this, $parent, $stack, $auth, context"
|
||||
}
|
||||
}
|
||||
},
|
||||
"meta": {
|
||||
"type": "object",
|
||||
"description": "meta object of field",
|
||||
@ -79,6 +89,7 @@
|
||||
"select",
|
||||
"selectArray",
|
||||
"date",
|
||||
"datetime",
|
||||
"file",
|
||||
"image",
|
||||
"jsonField",
|
||||
@ -182,7 +193,7 @@
|
||||
"properties": {
|
||||
"eval": {
|
||||
"type": "string",
|
||||
"description": "js code with $, $this, $parent and $stack variables"
|
||||
"description": "javascript code which hides field widget if evaluates to false with $, $this, $parent and $stack variables"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user