Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.setState({chipNames: newChipNames}, () => {
this.chipSet.destroy();
this.chipSet = new MDCChipSet(this.chipSetEl);
});
this.chipSetInputEl.value = '';
componentDidMount() {
this.MDComponent = new MDCChipSet(this.control);
}
this.initChipSet = chipSetEl => {
this.chipSetEl = chipSetEl;
this.chipSet = new MDCChipSet(chipSetEl);
};
this.setInput = inputEl => this.chipSetInputEl = inputEl;
public componentDidMount() {
super.componentDidMount();
if (this.control) {
this.MDComponent = new MDCChipSet(this.control);
}
}
this.initChipSet = chipSetEl => this.chipSets.push(new MDCChipSet(chipSetEl));
}