Add replacement feature and other small improvements
- allowReplacement (moved from element to list prop) - originList and Index are non-optional (means placeholders have to be used sometimes) - Re-introduced the dict of all DropListComponents. This is the only way I have found to get a reference to a DropListComponent by ID. This is needed for returning to origin. Origin is not actually part of the transaction and needs to be fetched from somewhere else. Hence the dict. - Console statements still present for debugging.
Showing
- projects/common/components/input-elements/drop-list.component.ts 78 additions, 20 deletions...s/common/components/input-elements/drop-list.component.ts
- projects/common/models/elements/element.ts 2 additions, 3 deletionsprojects/common/models/elements/element.ts
- projects/common/models/elements/input-elements/drop-list.ts 4 additions, 2 deletionsprojects/common/models/elements/input-elements/drop-list.ts
- projects/common/services/sanitization.service.ts 8 additions, 4 deletionsprojects/common/services/sanitization.service.ts
- projects/editor/src/app/components/dialogs/drop-list-option-edit-dialog.component.ts 1 addition, 5 deletions...ponents/dialogs/drop-list-option-edit-dialog.component.ts
- projects/editor/src/app/components/properties-panel/model-properties-tab/input-groups/drop-list-properties.component.ts 8 additions, 1 deletion...erties-tab/input-groups/drop-list-properties.component.ts
- projects/editor/src/assets/i18n/de.json 1 addition, 1 deletionprojects/editor/src/assets/i18n/de.json
Loading
Please register or sign in to comment