I have a Shared Form View with two rich text areas. One is in the form as a main field, the other is inside a grid. I have created both textareas the same, and given them the same class (and the textarea tags appear the same), but the one inside a grid is never set up. It just shows as a textarea.
When I look at the injected JavaScript, I see that it handles grid textareas separately (why? The JS code for both is exactly the same) and thus the grid one is never called. I cannot figure out why.
To create the grid’s textarea, I set the column’s content to be created by “ee( “View” )->make( “ee:_shared/form/field” )->render( …textarea settings… )”. The settings passed into that are exactly the same as the other textarea (except for different id and value). Should I be creating it a different way?
Do I need to do something with creating the grid to make this work? (I am calling $grid->loadAssets()”)
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.