first prove of concept O_O implementation

This commit is contained in:
mProjectsCode 2022-09-28 23:43:59 +02:00
parent 3db3496e0d
commit b5d5cc5ca2
4 changed files with 80 additions and 7 deletions

View file

@ -16,9 +16,9 @@ export abstract class SelectModal<T> extends Modal {
selectModalElements: SelectModalElement<T>[];
protected constructor(app: App, elements: T[]) {
protected constructor(app: App, elements: T[], allowMultiSelect: boolean = true) {
super(app);
this.allowMultiSelect = true;
this.allowMultiSelect = allowMultiSelect;
this.title = '';
this.description = '';