Add new hooks `on_update`?
MSDimos opened this issue · comments
Double Dimos commented
As document mentioned, there are only there hooks supported.
I want to redraw the searchbox when the search result changes, for example:
5
is current index,10
is the count of the search result.
I know that I can use on_done
to do it, but it's too hard to code.
Is there any possibility to add a new hook named on_update(input, value, current_index, total_count)
?
I have read the source code, maybe we can trigger on_update
here ?