# Render a component within a Widget. (Using select-kit components within plugin code)

**URL:** <https://meta.discourse.org/t/render-a-component-within-a-widget-using-select-kit-components-within-plugin-code/84462>\
**Category:** Development\
**Created:** [3 april 2018 om 12:55 UTC](https://meta.discourse.org/t/render-a-component-within-a-widget-using-select-kit-components-within-plugin-code/84462 "2018-04-03T12:55:25Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [31 augustus 2022 om 11:04 UTC](https://meta.discourse.org/t/render-a-component-within-a-widget-using-select-kit-components-within-plugin-code/84462/25 "2022-08-31T11:04:21Z")

</div>

Ah, I think this might help:

```diff
- @onChange={{action @data.onChangeUpdateTagSet}}/>
+ @onChange=@data.onChangeUpdateTagSet/> 

```

When passing a ‘closure action’, there is no need for the `(action` helper (and in this case, I guess it actually breaks things)

---

_[View the full topic](https://meta.discourse.org/t/render-a-component-within-a-widget-using-select-kit-components-within-plugin-code/84462)._
