diff --git a/app/javascript/new_design/select2.js b/app/javascript/new_design/select2.js index 8db01fe6f..ca55d1dd9 100644 --- a/app/javascript/new_design/select2.js +++ b/app/javascript/new_design/select2.js @@ -127,6 +127,8 @@ const adresseOptions = { text: label, geometry })); + // Allow the user to select an arbitrary address missing from the results, + // by adding the plain-text query to the list of results. r.unshift({ id: data.query, text: data.query }); return { results: r