Open coommark opened 11 years ago
how did you call normally? I did not find any documentation for usage.
you can reset your textarea by using reset
method.
$('textarea.mention').mentionsInput('reset');
but this reset is also removing the text which is not part of mention any idea how to remove mentions from text just to save message in DB
How do you call the reset function from an Ajax form after submitting? Calling the regular form reset still leaves the mentions in the textarea.