Services Plugins FAQs

"When Air Date/Time Picker value is changed" event not triggering actions

What’s happening:

  1. I select a single date in the date picker → which then filters a data table I have. (This is working as expected)

  2. I then click a button I have to reset the filters on the table (which works - the table resets), I’m using the “clear air date/time picker” action step (it looks like it works. The date picker in the UI - and in the bubble debugger - all of the values are empty)

  3. If I then go to the date picker and choose the same exact date I chose in step 1 → the table does not get filtered → the workflow “When Air Date/Time Picker value is changed” does not run.

What IS interesting is if I use the “clear” button built into the date picker → then it DOES work. So whatever the “clear” button is doing is doing it right.

But the action steps “clear air date/time picker” and “set air date/time picker” (and leave it blank) and “reset air date/time picker” do not work.

(and reset air date/time picker actually throws an error in the browser and sets the date picker to 1969)

Our users will inevitably find a way to stumble into this bug - it would be a huge help to fix this!!

1 Like

Hello @michael3,
Apologies for the late reply due to the weekend. :pray:t2:

First of all, please make sure you are using the new plugin element “AirDate/TimePickerv2” as we no longer support the v1 plugin element. In case this doesn’t help, for us to better understand your use case, would it be convenient for you to share more details about what issues you’ve encountered?

Namely, screenshots and screencast of your setup, the issue you see, expected result, for screencast recording I can suggest using the Loom tool.

Thanks :slightly_smiling_face:

Regards,
Gulce

Hi @Gulce, I am experiencing the same issues as @michael3 plus these issues:

LOOM here

Case: Using A Air Date/Time Picker v1 with Include and Range Selection mode:

In “Mobile View”:

  1. When I select Sept 12 to Sept 23, it chooses Oct 1 by itself (see Loom)
  2. Calling “Clear selection” from a workflow does not clear the selected days but it should
  3. Calling “Clear selection” from a workflow causes the component to become hidden, but it should stay on the screen nicely.

In a “desktop view”:

  1. When I select Sept 12 to Sept 23, it properly chooses the range, i.e. the bug reported above in item 1 does not occur.
  2. Calling “Clear selection” from a workflow does not clear the selected days but it should
  3. Calling “Clear selection” from a workflow does not cause the component to become hidden, i.e. the bug reported above in item 3 does not occur.

See the loom linked above.

I really like this component, but it is working very wonky right now. I have the latest version.
Paul

Hi @pwharker,
Thanks for the detailed explanation and sorry for the late reply due to the weekend. :pray:t2:

I’ve tried to recreate your use case and here is the result.

First of all, I was able to reproduce the issue with the visibility of the v2 element on mobile view. I’ve already passed this on to our developers and I’ll get back to you once I have any news.

However, the difference between your use case and my test page is that “Clear selected dates Air Date/Time Picker v2” doesn’t affect this visibility on my end and it’s working well. Besides, I’m able to select the range properly. Here is a short video for a better understanding: Loom | Free Screen & Video Recording Software | Loom

As you can see from the loom when I clear the dates, the v2 element is still visible until I reload the page. So, the most probable reason is the custom event that you’re using to clear the selected date. I suppose it affects the plugin’s behavior. Therefore, I would like to kindly ask you to check this action in a separate workflow without a custom event.

In case the issue still persists, would it be convenient for you to share access to your app so I can take a look?

For this please add our support@zeroqode.com email as a collaborator of your app (disregard the warning, our email can be added to the collaborator list even if your app is on the Free plan). And please let me know the page name where the issue is found.

Looking forward to your reply. :slightly_smiling_face:

Best,
Gulce

Hello @pwharker,
It’s been a while. :slightly_smiling_face:

We’ve updated the plugin and fixed the issue with the visibility of the v2 element on mobile view. Kindly ask you to upgrade your plugin to the latest version (3.38.0.) and give it a try.

Best regards,