Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ With the monkey patch disabled, use `render_component` (or `render_component_to

Using `rich_text_area` from ActionText in a ViewComponent will result in this error:

`undefined method "rich_text_area_tag"`
`undefined method "rich_textarea_tag"`

This is due to ViewComponent not having access to the helpers it needs via ActionText. As a workaround, add the following to your component (or base component):

```ruby
delegate :rich_text_area_tag, to: :helpers
delegate :rich_textarea_tag, to: :helpers
```
Loading