Hi Ankur,

I tried your solution but in my code source i am blocked : 

 if (userType == "partner") {
            if (answer["location"].length === 1) {
             
                    g_form.setValue("new_location", answer["location"][0]);
               
            } else {
                g_form.setValue("new_location", ''); // Aucune valeur trouvée, laisser vide
            }
        } else {
            g_form.setValue('new_location', answer["location"]);
        }
    }
i dont' know how to say to select juste one selection when field location has juste one display