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

Add Row button not working

How Do I?

GR's avatar
GR
6 posts
4 years ago
GR's avatar GR

Add Row button not working, so can’t add new documents to the existing grid field after upgrading EE5 to EE6.

       
Andy McCormick's avatar
Andy McCormick
183 posts
4 years ago
Andy McCormick's avatar Andy McCormick

sorry that you’re running into this. Please provide a little more information to help us troubleshoot this:

  • Current version of 6
  • Are there any errors in your dev console
  • Browser and browser version
  • Is this an MSM site
       
GR's avatar
GR
6 posts
4 years ago
GR's avatar GR

Thanks for you prompt response:

Current version of 6 – Yes 6.0.3

Are there any errors in your dev console–

admin.php?S=0&D=cp&C=javascript&M=combo_load&plugin=ui.touch.punch,ee_table_reorder&file=cp/global_end,cp/files/picker,fields/file/control_panel,fields/file/file_field_drag_and_drop,fields/file/concurrency_queue,fields/file/file_upload_progress_table,fields/file/drag_and_drop_upload,fields/grid/file_grid,cp/grid,cp/date_picker&package=entry_type:EntryType&v=1618689196:2957 Uncaught TypeError: Cannot read property 'match' of undefined
    at HTMLDivElement.<a> (admin.php?S=0&D=cp&C=javascript&M=combo_load&plugin=ui.touch.punch,ee_table_reorder&file=cp/global_end,cp/files/picker,fields/file/control_panel,fields/file/file_field_drag_and_drop,fields/file/concurrency_queue,fields/file/file_upload_progress_table,fields/file/drag_and_drop_upload,fields/grid/file_grid,cp/grid,cp/date_picker&package=entry_type:EntryType&v=1618689196:2957)
    at jquery.js?v=1618689196:2
    at Function.grep (jquery.js?v=1618689196:2)
    at z (jquery.js?v=1618689196:2)
    at n.fn.init.filter (jquery.js?v=1618689196:2)
    at admin.php?S=0&D=cp&C=javascript&M=combo_load&plugin=ui.touch.punch,ee_table_reorder&file=cp/global_end,cp/files/picker,fields/file/control_panel,fields/file/file_field_drag_and_drop,fields/file/concurrency_queue,fields/file/file_upload_progress_table,fields/file/drag_and_drop_upload,fields/grid/file_grid,cp/grid,cp/date_picker&package=entry_type:EntryType&v=1618689196:2956
    at admin.php?S=0&D=cp&C=javascript&M=combo_load&plugin=ui.touch.punch,ee_table_reorder&file=cp/global_end,cp/files/picker,fields/file/control_panel,fields/file/file_field_drag_and_drop,fields/file/concurrency_queue,fields/file/file_upload_progress_table,fields/file/drag_and_drop_upload,fields/grid/file_grid,cp/grid,cp/date_picker&package=entry_type:EntryType&v=1618689196:3030
admin.php?/cp/publish/edit/entry/6714:1920 Uncaught ReferenceError: EntryType is not defined
    at HTMLDocument.<a> (admin.php?/cp/publish/edit/entry/6714:1920)
    at i (jquery.js?v=1618689196:2)
    at Object.fireWith [as resolveWith] (jquery.js?v=1618689196:2)
    at Function.ready (jquery.js?v=1618689196:2)
    at HTMLDocument.J (jquery.js?v=1618689196:2)

Browser and browser version– Chrome Version 90.0.4430.93 (Official Build) (64-bit)

Is this an MSM site– Not sure of the question but I gave a snapshot - this feature was working fine in the previous version of EE 5.3.2 where it was like a plus sign now it is shown as the Add Row but is not working,

Please let me know if you need any other info.

       
GR's avatar
GR
6 posts
4 years ago
GR's avatar GR

Update: I think the problem is not there. I see when I’m on the “Edit Entry” page, and change the “Entry Type” from the dropdown option, It doesn’t hide the related fields what is selected previously on the “Edit Field” page.

       
Andy McCormick's avatar
Andy McCormick
183 posts
4 years ago
Andy McCormick's avatar Andy McCormick

sorry for the delayed response. Is “Entry Type” a field you have? Seeing as how you mention that it “doesn’t hide related fields”, it sounds like you’re using some custom javascript or an add-on that is conditionally hiding fields. This isn’t a native thing that EE does, so I’d look for those 3rd party pieces (add-on or custom js) and troubleshoot there.

If either one of those are looking for class names and styles from EE5, then they could break and that would cause these errors that you’re having.

       

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.