We've moved discussions to Discord

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)
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)
Notifications
You’re not receiving notifications from this thread.
© 2022 Jumpstart Pro by GoRails, LLC