Page 1 of 1

Feature or bug in Livecode's Data Picker Widget

Posted: Tue Jul 16, 2024 10:21 am
by Simon Knight
I have just added a two date picker widgets to my project and notice that changing either the year or the month does not trigger the dateChanged message.

Reading the dictionary I would expect the dateChanged message to fire when any part of the date is changed.
The message is sent when a date in the calendar is clicked. The parameter gives the selected date in the form YYYY-MM-DD.


When I use the widget on Mac OS and LC version 9.6.13 rc 1 the message only fires when a day value is clicked. So in your opinion is this a bug or a feature ?

Re: Feature or bug in Livecode's Data Picker Widget

Posted: Tue Jul 16, 2024 10:47 am
by Klaus
Hi Simon,

well I'd say not a bug, but more an inconvenient feature since you do not actually change the (previously selected) date this way. :-)

Best

Klaus

Re: Feature or bug in Livecode's Data Picker Widget

Posted: Tue Jul 16, 2024 2:34 pm
by Simon Knight
Hi Klaus,

And yet the date has changed if the widget is interrogated using "the selected date".

Re: Feature or bug in Livecode's Data Picker Widget

Posted: Tue Jul 16, 2024 2:41 pm
by Klaus
Hi Simon,

oh, yes, confirmed!
Sorry, did not work with that widget for a long time.
OK, so this is definitively a BUG! :)

Best

Klaus

Re: Feature or bug in Livecode's Data Picker Widget

Posted: Tue Jul 16, 2024 2:56 pm
by Simon Knight
I agree so bug report has been added:
https://quality.livecode.com/show_bug.cgi?id=24554