Skip to content
Snippets Groups Projects
Commit 9ee356ca authored by rhenck's avatar rhenck
Browse files

[editor-ui] Hide label field for droplists

Droplist label is not shown anywhere but sadly part of the model.
parent e4f35de3
No related branches found
No related tags found
No related merge requests found
Pipeline #59166 failed
......@@ -8,7 +8,9 @@ import { UIElement } from 'common/models/elements/element';
template: `
<fieldset *ngIf="combinedProperties.required !== undefined" class="fx-column-start-stretch">
<legend>Eingabeelement</legend>
<mat-form-field *ngIf="combinedProperties.label !== undefined" appearance="fill">
<mat-form-field *ngIf="combinedProperties.label !== undefined &&
combinedProperties.type !== 'drop-list'"
appearance="fill">
<mat-label>{{'propertiesPanel.label' | translate }}</mat-label>
<textarea matInput type="text"
[value]="$any(combinedProperties.label)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment