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
How can I add a delete button next to the tag? And pressing that button the particular tag should be deleted?
The text was updated successfully, but these errors were encountered:
you need to modify the code, use this:
textField.onDeleteBackwards = { [weak self] in if self?.readOnly ?? true { return } /* // Original if self?.isTextFieldEmpty ?? true, let tagView = self?.tagViews.last { self?.selectTagView(tagView, animated: true) self?.textField.resignFirstResponder() } */ if let tagView = self?.tagViews.last { self?.removeTag(tagView.displayText) }
Sorry, something went wrong.
I know, maybe is too late for you, (I'm not the author), just played with this repo a little.
No branches or pull requests
How can I add a delete button next to the tag? And pressing that button the particular tag should be deleted?
The text was updated successfully, but these errors were encountered: