Reset the value when changing the check class (because it might be invalid)
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
5756a8d8ff
commit
0579529145
|
@ -248,6 +248,7 @@
|
|||
var check = OCA.WorkflowEngine.getCheckByClass(value);
|
||||
if (!_.isUndefined(check)) {
|
||||
checks[id]['operator'] = check['operators'][0]['operator'];
|
||||
checks[id]['value'] = '';
|
||||
}
|
||||
}
|
||||
// model change will trigger render
|
||||
|
|
Loading…
Reference in New Issue