Empty event
I can't seem to find a way to react to an empty result, no event is triggered specifically on empty, and I can't find anything in autocompelete:shown to hint me of that. Is there something I'm missing?
I'm trying alternative empty approaches like changing input color, icon, etc.
Correct, I'll add an event; it makes a lot of sense.
We added a "clear" event in places
We added a "clear" event in places
Yes definitely something we'll also need to backport.
Yes definitely something we'll also need to backport.
But empty and clear are the same right?
But empty and clear are the same right?
Nope, empty is when the underlying datasets are not returning any results. On the other hand clear is when you press the right cross, right?
ohhh, tricky difference. Yes clear is when the query is emptyied, empty is when the datasets are returning no results.
Not sure we want to name it empty in the case of an empty dataset, it's very close to the "empty query" case no?
Not sure we want to name it empty in the case of an empty dataset, it's very close to the "empty query" case no?
Hmmm, I think it's OK because it fits the empty wording we're already using for templates.