We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Rich Text Field is not "turning on" when created in a grid of Shared Form View

Development and Programming

dmDev08's avatar
dmDev08
100 posts
9 years ago
dmDev08's avatar dmDev08

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()”)

       
dmDev08's avatar
dmDev08
100 posts
9 years ago
dmDev08's avatar dmDev08

This appears to be a bug: https://support.ellislab.com/bugs/detail/21445

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.