# Using tag-chooser in a plugin

**URL:** https://meta.discourse.org/t/using-tag-chooser-in-a-plugin/124656
**Category:** Development
**Created:** [8월 1, 2019, 7:14오후 UTC](https://meta.discourse.org/t/using-tag-chooser-in-a-plugin/124656 "2019-08-01T19:14:40Z")
**Posts on this page:** 2
**Page:** 2

<div class="post-metadata">

### Author: ![fzngagan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fzngagan/32/259349_2.png) [@fzngagan](https://meta.discourse.org/u/fzngagan)
#### Post date: [8월 26, 2019, 8:35오전 UTC](https://meta.discourse.org/t/using-tag-chooser-in-a-plugin/124656/21 "2019-08-26T08:35:03Z")

</div>

I was faced with this issue again and this time I did a simple trick to avoid getting into the complexities of :before\_action etc.

simply did this.

add\_to\_serializer(:serializer, :value) {object.field.to\_s}

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [8월 26, 2019, 12:18오후 UTC](https://meta.discourse.org/t/using-tag-chooser-in-a-plugin/124656/22 "2019-08-26T12:18:31Z")

</div>

Wow. I figured it was something trivial that I would never guess. Thanks very much!

[이전 페이지](https://meta.discourse.org/t/using-tag-chooser-in-a-plugin/124656.md?page=1)
