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