make readonly work (#4126)

This commit is contained in:
herblinernexxbizz 2023-06-12 11:34:50 +02:00 committed by GitHub
parent 3a230c8088
commit 4a353cd0c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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">

View file

@ -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;