From 1a10d3f28e7caa7e1da9a01f78de0acdab60c621 Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Thu, 28 Nov 2024 23:37:02 +0000 Subject: [PATCH] Fix: #5063 - Bug: Census Place disappears temporarily when choosing Census Date from the Census dropdown --- resources/views/modules/GEDFact_assistant/select-census.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/modules/GEDFact_assistant/select-census.phtml b/resources/views/modules/GEDFact_assistant/select-census.phtml index 30a283f4121..7d7cdfe3fdf 100644 --- a/resources/views/modules/GEDFact_assistant/select-census.phtml +++ b/resources/views/modules/GEDFact_assistant/select-census.phtml @@ -36,7 +36,7 @@ use Fisharebest\Webtrees\I18N; const form = select.closest('form'); form.querySelector('[id$=CENS-DATE]').value = option.dataset.wtDate; - form.querySelector('[id$=CENS-PLAC]').value = option.dataset.wtPlace; + $(form.querySelector('[id$=CENS-PLAC]')).typeahead('val', option.dataset.wtPlace); }); });