ng2-semantic-ui
ng2-semantic-ui copied to clipboard
How disable cache from sui-select and sui-multiple-select?
How can i disable or reset cache from sui-select and sui-multiple-select?
Same question/request applies to sui-search (i was about to create an issue), and maybe some other components :)
I have the same question regarding sui-search
, has anybody found a solution?
@Melmoth-the-Wanderer There's a work-around I thought of and it actually worked, everytime you want to reset the cached results just re-set the optionsField
because setting it calls a function called reset()
in search.service.ts
which resets the cached results, hope it helps.