make readonly work (#4126)
This commit is contained in:
parent
3a230c8088
commit
4a353cd0c6
|
|
@ -42,7 +42,7 @@ export class FormPanel {
|
|||
const mainTitle = this.mainTitle;
|
||||
const subTitle = this.subTitle;
|
||||
const orientation = this.orientation;
|
||||
const readonly = true;
|
||||
const readonly = this.isReadonly;
|
||||
|
||||
return (
|
||||
<div class="tw-absolute tw-inset-0 tw-overflow-hidden">
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ export class FlowchartComponent {
|
|||
@Prop() rootActivity: Activity;
|
||||
@Prop() interactiveMode: boolean = true;
|
||||
@Prop() silent: boolean = false;
|
||||
@Prop() isReadonly: boolean;
|
||||
@Prop() isReadonly: boolean = false;
|
||||
|
||||
@Element() el: HTMLElement;
|
||||
container: HTMLElement;
|
||||
|
|
|
|||
Loading…
Reference in a new issue