on supprime le code postal qui ne facilite pas la recherche d'adresses

This commit is contained in:
Jean-Marie Favreau 2025-04-27 10:19:30 +02:00
parent c2cfe6cd02
commit 31a0084784

View File

@ -76,7 +76,7 @@
choices.showDropdown();
setTimeout(() => {
const searchTerm = htmlDecode('{{ object.location }}');
const searchTerm = htmlDecode('{{ object.location }}').replace(/\(?\d{5}\)?/, '');
choices.input.focus();
choices.input.value = searchTerm;
choices._handleSearch(searchTerm);