Support Forum
Support › Meta Box Builder › Date Time picker and Time picker fields stop working
I'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.
Hello 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
Thank you Peter for taking a look:
https://drive.google.com/file/d/12tocH4JK1SKjvcGGOmp_CO3aCu-qebS3/view?usp=drive_link
I 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
Peter,
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, KC
I 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/
AH! 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?
Thanks 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.
Thank you.