Jump to content

Minor potential bug? Repeater Items not loading with AJAX when '_repeater' is used in fieldname.


GavJMF
 Share

Recommended Posts

Essentially whenever I had named the repeater field as 'card_repeater1' & the repeater's individual items would not open unless i turned off ajax for that field. No error came up in the log initially, however if I had a TinyMCE textarea in the field it came up with the error:

'Cannot find element to init TinyMCE: #Inputfield_textfield1_repeater1039'

'textfield1' being the name of the tinymce field. After some trial and error it seems to be only when the name ends in '_repeater' or the same with any combination of numbers added to the end. Not really a major issue but thought it was due a mention as I couldnt find anything on this, though admittedly I may have missed a mention of this in the docs.

This is solved by simply changing the name to include any text after the underscore, i.e. 'cardrepeater1' works fine or 'card_1repeater'. ?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...