From 46ebe4eebe23f560caba64e524af59a3248896e8 Mon Sep 17 00:00:00 2001 From: Stephanie Leary Date: Wed, 11 Jan 2023 15:21:21 -0600 Subject: [PATCH] WIP Remove input placeholders in fm-editor Removes the input placeholders in fm-editor. They are identical to the form labels, and their presence makes users think that the field has already been filled in. Signed-off-by: Stephanie Leary --- .../app/share/fm-editor/fm-editor.component.html | 24 ++++++++++------------ 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor.component.html b/Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor.component.html index 518125ccaa..4006f7da96 100644 --- a/Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor.component.html +++ b/Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor.component.html @@ -30,10 +30,12 @@
-
- + +

{{field.helpTextValue}}

+
+ @@ -79,8 +81,7 @@ @@ -137,7 +135,7 @@ class="form-control" id="{{idPrefix}}-{{field.name}}" name="{{field.name}}" type="text" pattern="[\s\S]*\S[\s\S]*" - placeholder="{{field.label}}..." i18n-placeholder + placeholder="" [required]="field.isRequired()" [ngModel]="record[field.name]()" (ngModelChange)="record[field.name]($event)"/> @@ -164,7 +162,7 @@