TIWDBEdit with DataType = stNumber weird behavior

<< Click to Display Table of Contents >>

Navigation:  Forum >

TIWDBEdit with DataType = stNumber weird behavior

Forum link

 

 

 


 

05-23-2024, 06:29 AM:

 

when TIWDBEdit with DataType = stNumber is in non editable mode (browse mode), the value disappear. Am I missing some settings or is it bug?

 

For attached sample below, hit the toggle button to toggle between browse state and edit state.

 

[attachment=744][attachment=745][attachment=746]

 

 

 


 

06-04-2024, 08:07 AM:

 

Hi Ren,

 

I'll check your demo and get back to you on this ASAP.

 

Cheers,

 

 

 


 

06-04-2024, 08:32 AM:

 

I believe this is not a "bug" per se but an incompatibility between the Currency field formatting (from Delphi's TField) and our JavaScript layer.

 

I'll need a little more time to debug it and see what can be done about it.

 

I'll get back to you when I have more information.

 

Cheers

 

 

 


 

06-11-2024, 08:24 AM:

 

Hi Ren,

 

I think I have a solution for this which requires a change in our JS numeric validation code. It will be available in the next release.

 

If you are using the latest IW version I can send you a patch so you can test it before the official release. If you want to receive the patch, please write me at alexandre at atozed dot com

 

Cheers

 

 

 


 

06-11-2024, 08:34 AM:

 

Thanks alex, will wait for next release~, workaround using ExtraTagParams to add in the html attribute inputmode="decimal" for numeric input to help for phone virtual keyboard now, although this attribute does not help validating.