We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
search-string/src/searchString.js
Line 214 in c2697f1
Solution: removeKeyword(keywordToRemove, negatedToRemove) { this.textSegments = this.textSegments.filter( ({ value, negated }) => keywordToRemove !== value || negatedToRemove !== negated ); this.isStringDirty = true; }
removeKeyword(keywordToRemove, negatedToRemove) { this.textSegments = this.textSegments.filter( ({ value, negated }) => keywordToRemove !== value || negatedToRemove !== negated ); this.isStringDirty = true; }
The text was updated successfully, but these errors were encountered:
Hi, what's this?
Sorry, something went wrong.
The removeKeyword(keywordToRemove, negatedToRemove) method does not work in the searchString.js file
removeKeyword(keywordToRemove, negatedToRemove)
That is the solution that worked for me.
oh ok. Does a change need to be made to our documentation?
No..Only the method needs to be updated
No branches or pull requests
search-string/src/searchString.js
Line 214 in c2697f1
Solution:
removeKeyword(keywordToRemove, negatedToRemove) { this.textSegments = this.textSegments.filter( ({ value, negated }) => keywordToRemove !== value || negatedToRemove !== negated ); this.isStringDirty = true; }
The text was updated successfully, but these errors were encountered: