Closed bleucitron closed 2 years ago
The search function should be able to detect if its input is a number.
search
If it is the case, do not fetch data from geo API (which gets city info) and just display the number in the input with no suggestions (maybe later).
On enter, redirect to the budget page, with correct search params: sirens= if the input is a SIREN, siret= if the input is a SIRET.
sirens=
siret=
The
search
function should be able to detect if its input is a number.If it is the case, do not fetch data from geo API (which gets city info) and just display the number in the input with no suggestions (maybe later).
On enter, redirect to the budget page, with correct search params:
sirens=
if the input is a SIREN,siret=
if the input is a SIRET.