I found bug in decimal and integer control. I can’t set decimal and integer control, empty value. When I try do it (this.page.ui.get(‘Integer’).setValue(undefined), then I can’t enter in this field 0 value. When I try enter 0, value disappears. I must enter e.g. 1 or any another value then I can enter 0. I don’t know wht’s happening. Please help. I attach twx file with example.
The Decimal and Integer controls are bound to properties of an Object. The control does not recognize the difference between 0 and undefined since the numericObject variable has not been instantiated. This issue is resolved by setting a Default Value on the object at the CSHS level: