Date Time picker and Time picker fields stop working
Support › MB Builder › Date Time picker and Time picker fields stop working
- This topic has 7 replies, 2 voices, and was last updated 11 months ago by
Keith Cross.
-
AuthorPosts
-
May 15, 2024 at 9:57 PM #45434
Keith Cross
ParticipantI'm trying to troubleshoot an issue whereby a date/time picker AND a time picker will not allow new input after updating the post. Subsequent to updating, as shown in the video, it will not allow me to change the values. Regular date fields work correctly.
May 16, 2024 at 9:59 PM #45442Peter
ModeratorHello Keith,
Please create a new field group, add the date/time picker AND a time picker then check the issue again. If it works, there could be an issue with the current field group on your site. Please export the field group to a JSON file and share it here. I will check it on my demo site.
Following the documentation https://docs.metabox.io/extensions/meta-box-builder/#export--import
May 17, 2024 at 12:23 AM #45447Keith Cross
ParticipantThank you Peter for taking a look:
https://drive.google.com/file/d/12tocH4JK1SKjvcGGOmp_CO3aCu-qebS3/view?usp=drive_linkI created a new field group and added those fields. They now allow me to edit the input, but would not display on the front end...then...
While troubleshooting another issue with CPU spikes on saving Bricks templates, I turned OFF/ON Fluent Forms base/Pro/SMTP and WPStaging Pro / base, and then happened to check the field functionality after that, and now they all allow input changes (will keep an eye on this)...but the format of the date/time field is not what I expected.
In this screenshot...the two top displays are the NEW fields. The two bottom displays are the OLD fields (which now permit input changes, and display) but I'm not clear why I'm getting two time formats in the date/time display(s) and on the OLD time display...er...that ain't right...likely I should dump those and use the new fieldset?
https://drive.google.com/file/d/12ufvZtXqy6orTXgrx_dEjoAjs_Nm6VBY/view?usp=drive_link
May 17, 2024 at 8:26 PM #45455Keith Cross
ParticipantPeter,
Just a quick follow up that I removed the old fields, and instead used the new field-set and adjusted the format a few times...and thus far things are displaying correctly. Thank you for the suggestion to set up a new field-set to test from.
Regards, KCMay 18, 2024 at 3:21 PM #45463Peter
ModeratorI found the issue, the time format of the time field "slider" is invalid. You should change it to a supported one "hh:mm" to fix the issue, screenshot https://imgur.com/wOP1j58
Following the documentation https://trentrichardson.com/examples/timepicker/
May 19, 2024 at 2:55 AM #45465Keith Cross
ParticipantAH! That makes sense. Thank you so much for identifying the issue. I will double check my settings more carefully in the future.
Because both inputs for format and control are available in the pulldown options, and I must have chosen too hastily. Might be a good idea to be less hasty, of course, but also, to put in a check against the a value miss-match to avoid such issues?
May 20, 2024 at 10:28 PM #45478Peter
ModeratorThanks for your feedback.
Currently, there isn't an option to check the validation of the input value in the builder. I will inform the development team to explore the possibility.
May 20, 2024 at 10:42 PM #45480Keith Cross
ParticipantThank you.
-
AuthorPosts
- You must be logged in to reply to this topic.