Jump to content

TUnimDatePicker bug on OnChangeEvent


Andrea Franco

Recommended Posts

Hi,

I'm using build 1531 (uniGUI Complete - Professional Edition) and I found a bug in TUnimDatePicker component, if I initialize the date from object inspector ('18/05/2020' or '16/05/2020') or from code using "date" function (:=date or :=date-2) starting from the initialized date and moving to other dates the OnChange event works correctly, but returning to the same initialized date the event doesn't works. Everything works fine initializing the component's date using the "now" function.

Link to comment
Share on other sites

17 minutes ago, Andrea Franco said:

OnChangeValue event is not working too, it works only with changes from code, not from GUI, we can't continue to use build 1531 and all new versions until you solve the problem, we need to revert to build 1526.

Hello,

Could you send a test app?

Link to comment
Share on other sites

20 hours ago, Andrea Franco said:

you can simply use an empty mobile project with only a TUnimDatePicker component inside the main form.

Hello,

Can you test with this approach?:

UnimDatePicker.ClientEvents.UniEvents ->

function afterCreate(sender)
{
    sender.originalValue=null;
}

 

Link to comment
Share on other sites

×
×
  • Create New...