Services Plugins FAQs

Air Date/Time Picker input disappear after hiding parent group

Hello,
Thanks for the wonderful plugins, they are super useful!

I’m using the air date/time picker for a form within my Bubble app that includes start and end dates.
The form is built within one page that contains three groups with input fields. Only one of the groups is visible at a time.
When I click on the button that toggles the picker’s parent group, the selected input is deleted.

The other input fields (texts / numbers) don’t have that issue.

Any ideas on why it might happen?

Thanks!

Hello @omereg,
Sorry for the late reply due to the weekend. :pray:t2:

Unfortunately, I couldn’t recreate your use case on my side. Therefore, can you please provide a bit more details, specifically screenshots/video recordings of the issue and your setup/workflows? It will help me to understand what might be the issue and provide a solution as soon as possible. :slightly_smiling_face:

Hope to hear from you soon!

Hi @Gulce,
Sorry for the late reply! Please let me describe a bit better the issue:

The setup
Group1 - Visible on page load
Contains the Picker and the continue button (and other inputs that are irrelevant)
image

The Picker’s settings are untouched, besides:

  • Start date picker recieves:
    Initial Date = Current date/time:(day)+1
    Minimum Date = Current date/time:(day)+1
  • End date picker receives:
    Initial Date = Input Start date’s value:(day)+1
    Minimum Date = Input Start date’s value:(day)+1
  • “Continue” button workflow: Toggle Group 1 → Toggle Group 2

Group 2 - not visible on page load
Contains other inputs, and a text that shows the total days between start and end dates and “Continue” button #2 (to be clear - it’s a different button).

image

What happens in practice:

  • When I click on continue button: Group 1 stops being visible, Group 2 appears, and the input from the picker is deleted. The text for “Total days” shows “1” (as the initial date entry).
  • When clicking on back-arrow (not described above but it shows group 1 again and hides group 2) the other input fields (text) remain as before clicking on “continue” but the air date picker has the initial value rather than the user’s picked value.

Hopes it is more clear.
Thanks again for the help!

Hi @omereg,
Thank you for the details. :slightly_smiling_face:

As far as I can see from the screenshot you provided, you are using the old plugin element. I suppose the issue might be related to this as we no longer support the v1 plugin element, unfortunately.

I’ve tried to recreate your use case with the new element (AirDate/TimePickerv2) and it seems like everything works properly. Here is a short video from my test page: Loom | Free Screen & Video Recording Software | Loom

So, can you please use the v2 element and let me know how it’s going?

Looking forward to your reply.

Best,

Gulce