Merge branch 'RED-10484' into 'master'
RED-10484: conditionally hide value placeholder. See merge request redactmanager/red-ui!725
This commit is contained in:
commit
6ef4b981fc
@ -93,7 +93,7 @@
|
||||
<div *ngIf="allRectangles" class="iqser-input-group w-450">
|
||||
<label [translate]="'change-legal-basis-dialog.content.classification'"></label>
|
||||
<input
|
||||
[placeholder]="'edit-redaction.dialog.content.unchanged' | translate"
|
||||
[placeholder]="isBulkEdit && !hideValuePlaceholder ? ('edit-redaction.dialog.content.unchanged' | translate) : ''"
|
||||
formControlName="value"
|
||||
name="classification"
|
||||
type="text"
|
||||
|
||||
@ -151,7 +151,9 @@ export class EditRedactionDialogComponent
|
||||
get hideParagraphPlaceholder() {
|
||||
return this.form.controls.section.value !== this.initialFormValue['section'] || this.#isFieldEmpty('section');
|
||||
}
|
||||
|
||||
get hideValuePlaceholder() {
|
||||
return this.form.controls.section.value !== this.initialFormValue['value'] || this.#isFieldEmpty('value');
|
||||
}
|
||||
get hiddenReason() {
|
||||
return this.isImage && this.form.controls.reason.disabled;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user