Hi @Silvia Rebelo ,
We have an AutoSuggest without UI sample available here https://learn.microsoft.com/en-us/bingmaps/v8-web-control/map-control-concepts/autosuggest-module-examples/filling-in-an-address-form-example and a live interactive sample here https://www.bing.com/api/maps/sdkrelease/mapcontrol/isdk/autosuggestuiwithoutmap
The documentation does not have an "onClear" as noted here: https://learn.microsoft.com/en-us/bingmaps/v8-web-control/map-control-api/moduleoptions-object
Sincerely,
IoTGirl