When using post-edit widget, with ACF that has:
flexible-field>> Field-Group>> date picker and time picker
NOT working
Browser display error:
?
_acf-field-time-picker.js:23 Uncaught
TypeError: Cannot read properties of null (reading ‘selectText’)
at Child.initialize (_acf-field-time-picker.js:23:47)
at Child.initialize (_acf-model.js:79:9)
at acf.Model (_acf-model.js:91:15)
at Child as constructor
at Child as constructor
at new Child (_acf-model.js:30:19)
at acf.newField (_acf-field.js:428:15)
at acf.getField (_acf-fields.js:155:16)
at HTMLDivElement. (_acf-fields.js:185:20)
at Function.each (jquery.js?ver=3.7.1:383:19)
However, instead of having 14 lines above or below Add To Cart, I’d like to put each day on one line. That is, Monday Open and next to that, Monday Close, for example. Then the next day on the next line.
I’ve added a CSS class for the field and added my CSS code in the Advanced > Customise setting. It’s all perfect except that when I use the code “Display:Inline” the dropdown boxes for the Time Picker stop working and you are unable to click on a day to enter a time manually. (You can only tab to them from an earlier input box to enter manually.) If you try to click on a Time Picker with Inline applied, it jumps over to the next field without CSS code applied.
I’ve tried the following to see how it affects the input fields:
Please help!
UPDATE: Is it because the Time Picker when opened takes up more than the space of the Input Field, so when there are two fields one line, the Time Picker things it doesn’t have room to open rather than opening over the top of the other field?
PS – I’ve tried to attach images but can’t see how to upload anything here.
]]>but it just shows as a text space rather than to pick or select a time.
]]>I checked the site’s general settings for date and time, and see it’s using for format —
g:i a
Which seems to be the correct setting.
I also installed the plugin to a different demo site using entirely different plugins and theme..and the 30 minute intervals is still the only possible selection. I can choose top of the hour, or half past the hour. But no quarters after the hours.
Please advise, thanks.
Beatty
]]>Does anyone have any idea how to do that? I have scoured YouTube, Googled it, just can’t find any directions on how to do it.
]]>I added a time picker to my form, so the user can add the time they’ll arrive before the event. After using the time picker, choosing a time from the list and pressing the submit button, i get an error message saying ?you have to use the time picker correctly? although i chose a time and its shown correctly. I use version 6.4.1 and pro-version 2.6.7.2. I also use ACF. Might this be the problem?
]]>I am trying to figure out how to connect my ACF date picker to be the publication date of my custom posts. So I can display the date on my archive page.
Any ideas ?
]]>I have a regstration form with the option to pick a time and pay for a one on one session.
There is only one day available, but it seems like it is possible to book the same time again and again. Is there a way to block the times that have been picked already?
Also, could I remove the “minutes” so all options are on the hour?
Thank you for your support.
]]>