Forum Replies Created
-
AuthorPosts
-
March 20, 2025 at 11:11 AM in reply to: ✅Switch field inside the group - Content visibility & required condition #47868
Tan Nguyen
ParticipantDear Prabakaran,
We have fixed since v1.6.21. If you use conditional logic above that version, this issue should be resolved. Cheers!
Tan Nguyen
ParticipantHi, I have fixed the issue, you'll get an update shortly.
January 21, 2025 at 9:58 AM in reply to: ℹ️empy first array value for cloneable group when using rwmb_frontend_validate #47482Tan Nguyen
ParticipantDear Nicholas,
Since we introduced clone empty start feature, we need somewhere to store the template for cloneable fields, thats why we put the first empty element in an array for the template and have
rwmb_cleanupto instruct the data parser to remove the template from actual data, in this case data.paypal[0].Every plugin that have this feature does the same somehow, ACF puts the template in the end of array.
Cheers!
Tan Nguyen
ParticipantDear Tobias,
I can see you are returning boolean from this expression
sort((a, b) => a.date_nextmatch_erste.timestamp > b.date_nextmatch_erste.timestamp)Since PHP 8 requires returning numeric value instead, you will need to return -1, 0, 1 respective to the sort data. You can use the spaceship operator like so:
sort((a, b) => a.date_nextmatch_erste.timestamp <=> b.date_nextmatch_erste.timestamp)Let me know if the issue is resolved.
Tan Nguyen
ParticipantDear Tobias,
Sorry to hear that, however, the SearchWP Meta Box Integration plugin is maintained by SearchWP team, could you please ask them to fix it?
If you have any issue, please let me know.
Cheers!
Tan Nguyen
ParticipantDear Tobias,
I have checked further and see that the call stack ultimately call
uasort()function, therefore, the caller should sastifie theuasort(), meaning the 2nd parameter should be numeric value.However, since you are using Bricks, it could be from there. As currently we don't have full context right now, can you please send me your input data like field you are using and settings you have saved so I can replicate and fix it if we could do in our end?
Cheers!
Tan Nguyen
ParticipantDear Michael,
I have fixed the issue, will release soon!
Cheers!
Tan Nguyen
ParticipantDear Cameron,
I have checked MB Rest API and found no issues, please make sure you have set
'clone' => trueto **HighlightsGroup** field. Here is the meta box that have similar structure with yours.add_filter( 'rwmb_meta_boxes', function( $meta_boxes ) { $meta_boxes[] = [ 'title' => 'Test', 'fields' => [ [ 'name' => 'HighlightsGroup', 'id' => 'HighlightsGroup', 'type' => 'group', 'clone' => true, 'fields' => [ [ 'name' => 'highlight', 'id' => 'highlight', 'type' => 'text', ], ] ], ], ]; return $meta_boxes; } );Since your **HighlightsGroup** field expects an array, you have to set clone => true.
Otherwise, if you don't want cloneable group, here is the correct json format:
{ "meta_box": { "HighlightsGroup": { "highlight": "This is another test" } } }Cheers!
Tan Nguyen
ParticipantDear Johannes,
I have fixed the issue, you will get an update soon.
Cheers!
Tan Nguyen
ParticipantDear Tobias,
Thanks for your information, I have added into a backlog and gonna fix it as soon as I can.
Cheers!
Tan Nguyen
ParticipantDear metafan,
I have check and confirmed its our bug when transforming html attribute to jsx, the
background-imageis quite special since this may containshttps://so there is two colons inside the string, we splited wrong position.I have fixed it and you'll get an update soon.
Cheers!
December 13, 2024 at 10:22 AM in reply to: ✅Issues with Geocoding address field + map field in groups #47176Tan Nguyen
ParticipantHi, do you use Google Maps instead of OSM? If so, you can replace map.js with this file:
https://github.com/wpmetabox/meta-box/blob/a7130ba7e6fe8ab19d1ea96592a6268ece03a06e/js/map.js
Btw, it will be merged to the meta box soon. Cheers!
December 10, 2024 at 4:39 PM in reply to: ✅Issues with Geocoding address field + map field in groups #47150Tan Nguyen
ParticipantDecember 10, 2024 at 4:38 PM in reply to: ✅Issues with Geocoding address field + map field in groups #47149Tan Nguyen
ParticipantHi @ambrdigital,
I have created a PR for this, while waiting for this to be fully tested and approved, can you please try to replace this osm.js inside your project?
Cheers
Tan Nguyen
ParticipantDear Jai,
Can you please also replace meta-box/js/clone.js with this file?
https://gist.github.com/tanftw/5e05f2bf169e61c9832f60b286d92e7d
If this problem still persist, can you please send me your website's credentials like FTP, SSH, and admin access if possible via [email protected]?
-
AuthorPosts