Air Date Time/Picker Clear

@ZeroqodeSupport I am using the Air Date Time Picker free plugin and when using the Clear button on the calendar, it doesn’t clear the date range selected, however using the workflow action to clear selected dates does work.

Is this expected behavior? If so, is there a way to make it so that when the button clear on the calendar is clicked, that it will clear the date range in the same way the clear selected dates workflow action does?

1 Like

Hello boston85719,

We tested the plugin on our end, and it seems to be working fine, clearing the selected range as expected.

Please refer to this demo page I just set up: Demo Page, and its editor: Editor Link. Try to replicate the plugin configuration as closely as possible.

If the issue persists, please provide screenshots of the plugin element configuration and let us know the exact version of the plugin you are using.

Looking forward to your response.

Best regards,
Zeroqode Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3

Hello boston85719,

I hope you’re doing well!

I wanted to check in and see if the issue you encountered with the Air Date Time Picker plugin has been resolved. If it persists, could you kindly provide the information we requested in our previous message? This will help us investigate the issue further and provide a solution.

Looking forward to hearing from you.

Best regards,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3

@ZeroqodeSupport In creating a video for demonstrating the issue I uncovered what is going on.

Basically, as soon as a user clicks enable buttons, you show three button positions and choices.

We can then select which button type for which position

There is no ability to not select one of the 3 positions, as in, I can not opt for just 1 or 2 buttons, it is all 3 or nothing in terms of POSITION. However, when choosing which button TYPE to put into any of the 3 mandatory POSITIONS we can choose the same button TYPE for each POSITION.

What this means, is I can actually, set things to never show the OK button. And when I do not show the OK button, and so instead show either the same button 3 times or one of the 2 buttons is shown twice, then the CLEAR button works as expected. But, as showing the same button 3 times or one of the 2 twice, is not good UX I am seemingly forced into choosing all 3 buttons, inclusive of the OK button.

Then, once the OK button is selected, if the user clicks CLEAR every thing looks cleared, but in fact it is not cleared from the Exposed State, and it will not clear the Exposed State of selected date range until the OK button is pressed. This is making it so that the user must press CLEAR and then press OK, something for me that was confusing as it for me is not a good UX as I’d imagine most users are not expecting to need to press the two buttons. And this need to press the CLEAR and OK button is true even if the settings of the plugin element is set to close automatically as it seems the Auto Close checkbox option is only listening to clicks of dates and not clicks of buttons, which for me, is confusing as I had imagined the Auto Close would work for button clicks of OK or CLEAR, because if I do not show the OK Button and instead show the same button 3 times or one of the 2 twice, then the CLEAR button click does clear the exposed state and does AUTO CLOSE, but whenever the OK button is shown, the exposed state is not cleared and the AUTO CLOSE doesn’t work on the press of the CLEAR button and only works on the press of the OK button.

The easiest fix is for the enable button checkbox to be as is, however, make it so that we can choose to only show one, two or 3 buttons, so that we can select to only show one button that is CLEAR and it will work as it already does, because the whole issue is related to the presence of the OK button when that button is not necessary as the AUTO CLOSE function already exists and works properly only when the OK button is not present.

This likely can be done quickly enough to make the 3 button choices optional, so we can leave any we do not want empty, which likely will not require altering any plugin code since it all works exactly as needed whenever the OK button is not present.

Hello again,

After you’ve enabled the calendar buttons via the checkbox, you can select any position (left, right, or center) to display a button of a specific type in it. The position of buttons will be automatically adjusted on the frontend in the Calendar Popup, based on the number of buttons you have. For example, if you only choose to display one button, it will be centered and span edge to edge, if you choose two or three buttons, their width will be split equally.

When you select a range of dates in the calendar popup, the exposed state of the element will allow you to access the said list.

By clicking on the Clear button, the calendar popup will be automatically closed, and the exposed state ‘selected range’ will be cleared, as you can see on the following screenshot.

You don’t have to add an ‘Ok’ buttons, since the ‘clear’ button will auto-close the popup just as you may expect.

Kindly refer to the Demo Page, and its editor: Editor Link, as it seems to have precisely the configuration you are trying to achieve.

If this doesn’t solve your issue, please include a short video of your use case and the problem you’re encountering.

Best regards,
Zeroqode Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3

Thank you very much for taking the time to clear that up for me. Appreciate the help and follow up. I now see my mistake and can set buttons to not be used by clicking the empty space at the top of the Dropdown.

Hello boston85719,

We’re happy to have helped you resolve this issue!

If you want to help us improve our services, we’d greatly appreciate it if you could rate the current version of the plugin in the Plugins tab of the Bubble editor. Simply find the plugin by name and give it the number of stars it deserves.

Also, feel free to share your experience with Zeroqode by leaving a review here.

Your feedback is invaluable to us!

Best regards,
Zeroqode Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3

This topic was automatically closed after 14 days. New replies are no longer allowed.