Forum Replies Created
-
AuthorPosts
-
January 22, 2025 at 10:06 PM in reply to: Adjusting Width of Admin Filter and Translating Text in Relation Field #47500
Peter
ModeratorHello,
Currently, only text in the English language will be displayed. I will inform the development team to improve this feature in future updates.
Thank you.
Peter
ModeratorHello Nick,
It looks like the ID 1 was deleted in the database. I test to create the first entry of the custom model, the ID is started from 1 as well. But if I delete the entry in the database and submit a new entry, it will start from 2 as it is.
I'm discussing this case with the development team and get back to you later.January 21, 2025 at 12:46 PM in reply to: ℹ️empy first array value for cloneable group when using rwmb_frontend_validate #47483Peter
ModeratorIf you open the Console tab and check the HTML elements, you can see the first entry is the template that will be used for other clone entries. Screenshot https://imgur.com/CwZGTSs
Peter
ModeratorHello Michele,
Please try to contact us via this email [email protected], I will help you check the issue.
Peter
ModeratorHello Julian,
Thanks for reaching out.
I'm afraid that Meta Box doesn't support an option to validate that the end date is after the start date or any specific case. You can create your own Javascript code to validate the input date, refer to this topic https://stackoverflow.com/questions/68092463/notify-when-the-end-date-is-earlier-than-start-date
Peter
ModeratorHello Tanja,
Thank you for your feedback.
I've escalated this issue to the development team to check the warning message when using the Bricks element and frontend form. Meanwhile, you can try to use the frontend form shortcode and remove the title, content from
post_fieldsattribute. Following the documentation
https://docs.metabox.io/extensions/mb-frontend-submission/#adding-the-submission-formJanuary 20, 2025 at 11:07 PM in reply to: ✅'Switch' Element Cannot be Defaulted to "On" within MB Group "Clones" #47473Peter
ModeratorHello,
If you want to show the ON switch as the default value for the cloneable entry, please enable the setting "Clone default value" for the group field. Please read more about the cloneable feature in the documentation https://docs.metabox.io/cloning-fields/
and check this screen record https://imgur.com/vO3SxT6Peter
ModeratorHello Simon,
You can try to follow this tutorial to increase the PHP setting
max_input_varsto fix the issue
https://metabox.io/wordpress-custom-fields-not-saving-increase-max-input-vars/Let me know how it goes.
Peter
ModeratorHello Nick,
This issue has been fixed in this commit https://github.com/wpmetabox/meta-box/commit/263fd9a7f13e79dfdb57a3a6e1538b642f83246a
it will be included in the next version of Meta Box.Thank you.
January 19, 2025 at 11:19 PM in reply to: ✅Issues with Post Title Generation Using Custom Table Data #47468Peter
ModeratorHello,
I think that the callback function runs at the action hook
save_postwon't get the correct field value because custom field values are saved after saving the post. I suggest you:1. Use the helper function rwmb_meta() to get the field value that is saved to the custom table
https://docs.metabox.io/extensions/mb-custom-table/#getting-field-value2. Or use the action hook
rwmb_{$field_group_id}_after_save_postto ensure all field values are saved.
https://docs.metabox.io/actions/rwmb-after-save-post/
Reference https://support.metabox.io/topic/adding-metabox-field-data-to-the-post-title/3. Or get the field value from the global variable $_POST.
I hope that helps.
January 19, 2025 at 10:54 PM in reply to: Adjusting Width of Admin Filter and Translating Text in Relation Field #47467Peter
ModeratorHello Simon,
1. There isn't an option to change the width of the filter field. It will show the proper width for the length of the filter title. You can change the filter title when editing the relationship and see how it works. Please check these screenshots https://imgur.com/a/MxohpEj
2. The text "Please enter 1 or more characters" is hard-coded in the select2 JS file https://github.com/wpmetabox/meta-box/blob/master/js/select2/i18n/en.js
inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"}it isn't possible to translate the text in the JS file like that.
And please notice that, supporting customization code is beyond our scope of support. If you want to customize your site, we offer a customization service. You can contact us here for more details https://metabox.io/contact/
January 19, 2025 at 8:27 PM in reply to: OSM map does not render fully when the field has conditional logic #47465Peter
ModeratorHello John,
I believe this issue is solved after you increase the PHP setting max_input_vars as in another topic https://support.metabox.io/topic/custom-fields-broken/
I'm waiting for your feedback.
January 19, 2025 at 8:23 PM in reply to: Making OSM map invisible? Pin location updates address? Address field behaviour? #47464Peter
ModeratorHello John,
2. Thanks for your feedback. I will inform the development team to consider supporting that feature in future updates.
January 18, 2025 at 2:14 PM in reply to: ✅'Switch' Custom Field Element Cannot be Defaulted to "On" #47449Peter
ModeratorHello,
I recheck this setting of the
switchfield on my site and see that it still works correctly. Can you please share all the field group code so I can add it to my site and check the issue?Peter
ModeratorHello Bjarte
Thanks for reaching out. This issue has been fixed in a new commit and we will include it in the next update of the MB Blocks plugin.
-
AuthorPosts