ng2-semantic-ui icon indicating copy to clipboard operation
ng2-semantic-ui copied to clipboard

How disable cache from sui-select and sui-multiple-select?

Open alexvingg opened this issue 7 years ago • 3 comments

How can i disable or reset cache from sui-select and sui-multiple-select?

alexvingg avatar Oct 18 '17 12:10 alexvingg

Same question/request applies to sui-search (i was about to create an issue), and maybe some other components :)

Melmoth-the-Wanderer avatar May 10 '18 12:05 Melmoth-the-Wanderer

I have the same question regarding sui-search, has anybody found a solution?

youssef-sobhy avatar May 15 '18 16:05 youssef-sobhy

@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.

youssef-sobhy avatar May 19 '18 23:05 youssef-sobhy