Can you use Mentions with regular strings fields?

Rob Jonson
I tried just adding them:

<%= form.text_field :title, class: "form-control", data: { controller: "mentions", mentions_target: "field" } %>

the mentions dropdown pops up - but when you actually select a person, it drops @undefined into the string rather than (presumably) @Rob (or whatever)
You’re not receiving notifications from this thread.
© 2022 GoRails, LLC