Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIWDBEdit with DataType = stNumber weird behavior
#1
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.

.zip   IWDBEditBug.zip (Size: 7.94 KB / Downloads: 3)        
Reply
#2
Hi Ren,

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

Cheers,
Reply
#3
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
Reply
#4
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
Reply
#5
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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)