Hi, when editing a fieldgroup in the ACF section (https://mysite.tld/wp-admin/edit.php?post_type=acf-field-group) I get the following error:
jquery.min.js?ver=3.6.4:2 Uncaught TypeError: Cannot read properties of undefined (reading 'replace')
at HTMLDivElement.<anonymous> (input.js?ver=6.2.2:32:29)
at Function.each (jquery.min.js?ver=3.6.4:2:3003)
at e.<computed>.each (jquery.min.js?ver=3.6.4:2:1481)
at input.js?ver=6.2.2:28:43
at acf-input.min.js?ver=6.1.6:1:2258
at o (acf.min.js?ver=6.1.6:1:1417)
at Object.doAction (acf.min.js?ver=6.1.6:1:587)
at n.doAction (acf.min.js?ver=6.1.6:1:19465)
at HTMLDocument.<anonymous> (acf.min.js?ver=6.1.6:1:28734)
at e (jquery.min.js?ver=3.6.4:2:30158)
The issue seems to be that acf.get_fields({ type : 'column'}, $el)
in acf-column/js/input.js
on line 28 returns some elements but columns
inside the loop below (line 30) becomes undefined. Due to that the orig_key.replace("_", "-")
(line 32) fails because orig_key
is undefined too. I don’t know if this is an issue with ACF itself or with the columns plugin but adding the following condition before line 30 solves the issue.
if(!$(postbox).find('.acf-column').length) {
return;
}
Could that be possible?
Using:
WordPress 6.6.2
ACF Pro 6.1.6
ACF Column 1.2.5
Hey Thomas,
This is an awesome plugin, many thanks for that!
I’ve had a few issues in the past with using ACF Group fields together with Elementor and so adding the fields into columns instead of the groups solves many problems for me.
I was wondering if you could please update the plugin since it was last updated 10 months ago, and then I was wondering if you could please add an additional column size – ‘Full width’ column option.
I’m currently adding the fields into the 2/3 column option and then using CSS to overwrite the 66.66% width to 100%.
It works fine for me, but it would be great to have a ‘full width’ column as an actual option rather than me hacking the CSS.
Thanks again ??
]]>Is there anyway this can support Label placement of ‘left’ to have two fields side-by-side? It seems to only support Label placement ‘top’.
]]>Hi!
I’ve put tabs with a 2/5 width column. The issue is that the second tab content displays below the first tab content when I refresh the page. As soon as I click on the second tab, the content goes back to displaying as it should.
It’s the same issue as what’s happening here: https://support.advancedcustomfields.com/forums/topic/tabs-not-working-properly-in-widgets/
As soon as I deactivate ACF columns the issue goes away.
]]>It’s almost working, but doesn’t quite layout well when there’s a field label.
I’ve put a screenshot here: https://arathra.com/wiki/wp-content/uploads/2018/10/columns.jpg
You can see that under GENDER the columns have been pushed to the left. Is it possible to include the label on the left and then have the 2 columns showing?
Something like this would be ideal: https://arathra.com/wiki/wp-content/uploads/2018/10/columns2.jpg
Many thanks!
]]>Hello,
I really liked the plugin which works great but i found some issue on the layout design when using TAB.
Please refer to the screenshot: https://prntscr.com/l1o7l5
When i used multiple tab and insert column in third ta tab displays in third but under below which can clearly seen on the provided screenshot.
I am using current latest version which is 5.7.7
It would be very much handy if you can reply to this message.
Thank You
]]>I use WordPress 4.9.8 Arabic version and ACF 5.7.6.
How to make this plugin support RTL layout.
I mean that how to make it shows first column on right side, and second column on left side.
It appears when using ACF Columns in a group with Tabs it breaks the columns (after the second tab).
In other words, they appear to work when under the first tab but if any columns are after the second or more tab none of the fields show up.
]]>Would someone tell me please where the benefits are? I mean as far as i can see, i can achieve the same results with setting the width of fields. when i set 50%, then fields get aligned in one row. thanks
]]>WordPress 4.8 and ACF Pro 5.5.14
I am not seeing the ability to select column data.
]]>