Value of date/time picker changes automatically

Hey folks,

Currently I have a form with an RG of “experiences”, which contains an input datetime picker for the date for each experiences.
The date/time picker input is autobinded with the database.

In the input configuration options I set:

  • time interval: 15min
  • minimum date: current date/time

When I go to the form, the date is correct, but the time adapts to the next 15min interval.
Example if it was 5:13 p.m., the time is automatically adjusted to 5:15 p.m inside the “hour” input.

Visually, it suits me very well.

Except that the autobinded date in BDD remains at 5:13 p.m.
I have to manually select 5:15 p.m. for the autobind to apply.

So question, since date/time picker updates automatically, is there a trick to apply the change as the user does the change ?

thanks


Oooh, this is a cool question. Never had to think about the behaviour of date/time picker autobinding.

Yeah, that probably makes sense to me. Bubble is rounding the 5:13pm to 5:15pm but only updating it when the user, well, updates it.

I’m not sure what you mean here, sorry - do you mean:

  1. It shows 17:13 by default but 17:15 when the user changes it
  2. It shows 17:15 and should also in the DB without the user having to do anything

hey !

Never too late to answer ^^ …

Yeah, I meant the second point.
It shows 17:15 and should also in the DB without the user having to do anything

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