Bug #23155 See Comments

Backspace not working with grid data

Version: 3.5.4 Reporter: cherrycreekmortgage

{grid_field backspace="2"}{title}, {/grid_field} doesn’t result in a string with the last characters removed.

  • Hi cherrycreekmortgage, I’m unable to reproduce this in either 3.5.4 or 3.5.9. I copied what you have into my template and the last space and comma are removed as expected. Do you have steps to reproduce on a clean install? If so, could you explicitly outline those?

    Kevin Cupp
    19th June, 2017 at 4:33pm
  • I seem to have gotten confused with what kind of field I was working with… it’s actually a relationship field where I’m seeing it not work. My code is below and I’m trying to remove the last comma and space.

    {profile_licensed backspace=”2”} {profile_licensed:title}, {/profile_licensed}

    20th June, 2017 at 3:49pm
  • Ah thanks for the clarification. I’m also not able to reproduce this though. I copy and pasted what you have there, but replaced the smart quotes with regular quotes because those quotes weren’t working (EE’s comment module may have modified them), and it worked as expected. Let me know if you have steps to reproduce on a clean install, or submit a support ticket and we can take a closer look.

    Kevin Cupp
    20th June, 2017 at 4:48pm

You must be signed in to comment on a bug report.

ExpressionEngine News

#eecms, #events, #releases