Clean up logging a bit & implement 'omit'

* 'omit' can be set to omit views from form submission
* Don't log as much noise
This commit is contained in:
Bryan Ashby
2019-06-08 11:57:36 -06:00
parent 094385a150
commit afb7854ea5
2 changed files with 15 additions and 14 deletions

View File

@@ -220,6 +220,12 @@ View.prototype.setPropertyValue = function(propName, value) {
case 'argName' : this.submitArgName = value; break;
case 'omit' :
if(_.isBoolean(value)) {
this.omitFromSubmission = value; break;
}
break;
case 'validate' :
if(_.isFunction(value)) {
this.validate = value;