[Search and Autocomplete] Trigger OnNotify when clearing a search

Forge Component
Published on 24 Mar (2 days ago) by leonardo.fernandes
21 votes
Published on 24 Mar (2 days ago) by leonardo.fernandes
Hi Leonardo,

Trying to take some action when a search control os cleared (text selected and deleted) but OnNotify is not triggered. Am I missing something, is there something I can do to trigger OnNotify?

Hi Gavin. I believe this was a regression on the last version. Can you try the previous version (9.4.2)?
Hi Leonardo,

No go with 9.4.2 I'm afraid. 

My Autocomplete is encapsualted in a webblock for reuse (1 for the search which encapsulates the results webblock)

I'm able to work around it by invoking an OnChange event for the input control which checks for an empty search string and provides NullIdentifier before a InvokeNotifyWidget. 

It's a bit of code duplication but it seems to work as expected. If there are any traps you can think of, please let me know.

Gavin, I am having a hard time trying to reproduce your problem. The search results is triggered when the input is empty, and you can see it in action here and here.

If you could send me an example of eSpace with the failure you describe, maybe I can help you.

Best regards,
Leonardo Fernandes