Templates Plugins Courses

Air Date/Time Picker plugin / Initial dates not updating

Hello team! I’m using the Air Date/Time Picker plugin.

i want do initially display the parent things (in my case: shoots) start and end date in the plugin. Here is my setup:

The picker is in an Popup that has a state of a “shoot” that has the start and end dates. I want to show theses dates initially in the plugin element and then be able to change them via the plugin and workflows.

If i open the popup after pageload by clicking on a shoot, the popup opens and the dates are shown in the plugin correct.

But when i close the popup and open it again, it stills shows the dates of the previous event. The state (the shoot) is transferred correctly to the parent element of the plugin as testet in the debugger. After a pageload i can click on any other shoot and again - initially the dates are shown correct. But always only once.

I attach a picture of the plugins settings and the console, where an error occurs:


Here is a Loom vid: Loom | Free Screen & Video Recording Software | Loom

MAC OSX VEntura 13.2.1 and Chrome Version 110.0.5481.100 (Offizieller Build) (arm64)

Thanks for taking a look!

Hello @vonbrueck,
Thank you for contacting us!

It happens because, with the new responsive engine, the popup is being “written” on the page just once, and if you close it - it will keep its data when reopened.

To overcome this, you can use “Set date AirDate/TimePickerv2” when the popup is opened and indicate the “time” you want to display - to make the popup display the correct date through the plugin element. Here is an example: Screenshot by Lightshot

Hope this workaround helps.

As for the errors in the browser console, unfortunately I was not able to reproduce them on my side. We have to investigate the error messages you have shown and the plugin within your app for a better understanding of the root cause.

For this, would it be convenient for you to add our support@zeroqode.com email to the list of your app collaborators, in case the errors persist after the provided change?

Looking forward to your reply.

Best regards,
Gulce

Hi! Thanks for your reply. Sorry for my late answer. I need to set a date range not a date. I picked a range in this airdatetimepicker before and now need to show that range at that exact airdatetimepicker again.

How can i do that?
Thanks and kind regards

Niken

Hi @vonbrueck,

I’ve created a test page and made a short video for you showing the basic setup:

Could you please take a look and replicate it on your end? Hope it helps!

Best regards,
Gulce

So basically you are clearing the picker. In my case the popup is a repeating element and the the date information is stored in the state of a shoot that repeating element (the popup) has.

In my case “Clear selected…” just clears the information, but no dates are shown anymore at all: Loom | Free Screen & Video Recording Software | Loom …unfortunately

EDIT: I forgot a “clearing” step in the workflow when opening the popup. Now i only have it in the POpup when opening, but it doesn’t clear the field at all.

EDIT 2: Adding Loom: Loom | Free Screen & Video Recording Software | Loom

Hi @vonbrueck,

To speed up the investigation process, would it be possible for you to add our support@zeroqode.com email to the list of your app collaborators? Please also provide a step-by-step guide on how to reproduce the issue.

You can ignore the warning about the subscription plan, limiting the app collaborators number. Zeroqode is on an Agency plan and can be added to any Bubble app as a collaborator.

Thank you :pray:

Done. Thank you!

Hi @vonbrueck,

I’ve checked your app but unfortunately, we need edit rights to investigate and fix the root cause of this issue. Therefore, if you could provide edit rights it would be great. :pray:

We will create a separate test page to perform plugin tests on it and copy the page where you have faced the mentioned issue. So, we will not make any changes to your page. Also, please let me know which user credentials I can use. You can share this information via DM.

Thank you!

Hello @vonbrueck,
Thank you for your patience. :pray:

We’ve updated the plugin and fixed the issue. Please upgrade your plugin to the latest version and try using the “set date/time picker” action when the reusable element pops up.

Best regards,
Gulce

Hi there and thanks a lot, now it’s working perfectly fine. :+1: :grinning:

1 Like

Hi @vonbrueck,

I’m glad it helped. If there’s anything else I can help with, please let me know. :slightly_smiling_face: