Skip to content

Commit 2da4933

Browse files
author
tsv2013
committed
Fixed #6636 - Support instantiating a SurveyCreatorModel without passing an empty object
1 parent cfcf5c6 commit 2da4933

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/survey-creator-core/src/creator-base.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1532,7 +1532,7 @@ export class SurveyCreatorModel extends Base
15321532
}
15331533
public sidebar: SidebarModel;
15341534

1535-
constructor(protected options: ICreatorOptions, options2?: ICreatorOptions) {
1535+
constructor(protected options: ICreatorOptions = {}, options2?: ICreatorOptions) {
15361536
super();
15371537
if (
15381538
!!options2 ||

0 commit comments

Comments
 (0)