Services Plugins FAQs

Air/Date Time Picker latency on condition

Hello everyone :wave:

I use Air/Date time picker for all my client’s apps, and recently i found out that conditions regarding the element’s value being empty or not empty have a <1 second latency.

My use case :
I want my AirDate Time picker background to be blue when it’s value is not empty
My condition :
When Air/Date Time Picker A’s selected date is not empty
Background color : Blue

Do you know if I did something wrong ? If not, do you have a solution for me ?

Have a good day,
Robin

Hi @robinchekki,

Thank you for reaching out!

After testing, we’ve confirmed that there is no issue with your setup. The brief delay of under one second occurs because the plugin is applying the selected date while Bubble processes the conditionals.

To improve this, we suggest setting a custom state, ex: “AirDateTimeSelected” (yes/no, default to no). In the workflow, when the Air Date Time Picker value changes, we can set the custom state of “AirDateTimeSelected” to yes. Then, in the AirDateTimePicker’s condition, you can use: “When ThisAirDateTimePicker’s AirDateTimeSelected is yes > change background color.”

image

Custom states typically work faster than default conditions and should provide a more responsive experience.

Let us know if you’d like assistance implementing this or have any further questions!

Regards,
Mina