Atozed Forums

Full Version: TIWDBEdit with DataType = stNumber weird behavior
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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]
Hi Ren,

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

Cheers,
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
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
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.