Page 1 of 1

OnChange produces Different values

PostPosted: 14 Jul 2017 23:36
by mrcarver
CG Gurus,

I am experiencing an issue with the CGDropDown filled with Base64 GUID as the value. In the OnChange event of the CGDropDown the following discrepancy occurs

myCGDropDown.Val = 'T6R9qNMtJXXgVA5dxuR17w'
AParams.Value['MYDROPDOWN_JQ_INDEX') = 'T6R9qNMTJXXgVA5dxuR17w'

Please notice the discrepancy of the 8th character, "t" vs "T"
The correct value is found in the Params. And of course when posting the wrong value posts. No doubt the issue stems for the fact that both records exist in the DropDown.

Note: I have myCGDropDown.JQDropDownOptions.CaseSensitive := True;

Please advise

Regards
Monte Carver

CG 4.0.0.28
IW14.1.14

Re: OnChange produces Different values

PostPosted: 18 Jul 2017 14:05
by Alexander Bulei
Hi mrcarver,

Sorry, but I can simulate this issue here...
Can you send me the simple testcase project?
TIA

Best Regards.

Re: OnChange produces Different values

PostPosted: 18 Jul 2017 17:10
by mrcarver
Alexander,

Thank you for looking into this issue.

Attached is a demo which easily exposes the subject issue. Regarding the JScript error from my other post, I am currently unable to duplicate this error.

On the subject issue, I am awaiting this fix to push to production, so please response asap.

Regards,
Monte Carver

NOTE: I am getting:
"Could not upload attachment to ./files/75_f4f8891afa5d4d9f2a4fb8789c67630d."

NOTE: Got it to upload!
Please see demo via Email (ie support@cgdevtools.com)

Re: OnChange produces Different values

PostPosted: 19 Jul 2017 11:59
by Alexander Bulei
Hi mrcarver,

Fixed in next beta build...
Thank you.

Best Regards.