mirror of
https://github.com/sartography/cr-connect-bpmn.git
synced 2025-02-27 07:30:32 +00:00
Removes 'required' property from checkboxes, makes them false by default
This commit is contained in:
parent
1fbe01c3af
commit
1db4c6c569
@ -91,22 +91,20 @@ export class WorkflowSpecDialogComponent {
|
||||
{
|
||||
key: 'standalone',
|
||||
type: 'checkbox',
|
||||
defaultValue: this.data.standalone,
|
||||
defaultValue: false,
|
||||
templateOptions: {
|
||||
label: 'Standalone',
|
||||
description: 'Is this a standalone workflow?',
|
||||
required: true,
|
||||
indeterminate: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
key: 'library',
|
||||
type: 'checkbox',
|
||||
defaultValue: this.data.library,
|
||||
defaultValue: false,
|
||||
templateOptions: {
|
||||
label: 'Library',
|
||||
description: 'Is this a library workflow?',
|
||||
required: true,
|
||||
indeterminate: false,
|
||||
},
|
||||
},
|
||||
@ -115,6 +113,7 @@ export class WorkflowSpecDialogComponent {
|
||||
}
|
||||
|
||||
onNoClick() {
|
||||
console.log('form model : ', this.model);
|
||||
this.dialogRef.close();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user