Open snstarosciak opened 7 years ago
I am facing the same challenge. Did you find a way to do it please?
I did this by @ViewChild and the semantic-ui clear parameter. Some code:
...
@ViewChild("selectE") selectE: SemanticSelectComponent;
resetSelect(){
jQuery(this.selectE.select.nativeElement).dropdown('clear');
}
But have small issue, see #182
Hey there, is there a way to reset the
<sm-select>
back to its initial state of no value selected? I have a form that, once submitted, maintains the state of the select dropdowns, even though I create a brand new form, which should clear the values selected in each dropdown.