From cca1e656101dc4f10e43ad8b940f884dec50fbca Mon Sep 17 00:00:00 2001 From: Philip Trembath <phtr@ceh.ac.uk> Date: Tue, 25 Mar 2025 15:09:20 +0000 Subject: [PATCH] add empty options to contact prefix --- web/src/editor/src/templates/Contact.js | 1 + web/src/editor/src/templates/service-agreement/author.js | 1 + 2 files changed, 2 insertions(+) diff --git a/web/src/editor/src/templates/Contact.js b/web/src/editor/src/templates/Contact.js index 237d8f4f0..cfaa7463b 100644 --- a/web/src/editor/src/templates/Contact.js +++ b/web/src/editor/src/templates/Contact.js @@ -55,6 +55,7 @@ export default _.template(` <div class="col-lg-2"> <label class="fst-italic" for="contacts<%= data.index %>honorificPrefix">Title</label> <select data-name="honorificPrefix" class="editor-input honorificPrefix" id="contacts<%= data.index %>honorificPrefix"> + <option value="">--none--</option> <option value="Dr">Dr</option> <option value="Miss">Miss</option> <option value="Mr">Mr</option> diff --git a/web/src/editor/src/templates/service-agreement/author.js b/web/src/editor/src/templates/service-agreement/author.js index 745903754..98390c5f0 100644 --- a/web/src/editor/src/templates/service-agreement/author.js +++ b/web/src/editor/src/templates/service-agreement/author.js @@ -8,6 +8,7 @@ export default _.template(` <div class="col-lg-2"> <label class="fst-italic" for="contacts<%= data.index %>honorificPrefix">Title</label> <select data-name="honorificPrefix" class="editor-input honorificPrefix" id="contacts<%= data.index %>honorificPrefix"> + <option value="">--none--</option> <option value="Dr">Dr</option> <option value="Miss">Miss</option> <option value="Mr">Mr</option> -- GitLab