record should move to editing mode when user is editing first field
Description
Environment
Attachments
- 24 Sep 2016, 08:33 PM
- 09 Sep 2016, 03:09 PM
- 04 Sep 2016, 02:45 PM
- 04 Sep 2016, 02:45 PM
- 04 Sep 2016, 03:53 AM
Activity

Hiep Lq September 24, 2016 at 8:38 PM
hi @Carlos Ruiz i fix issue you find out by bellow change at
+ when start edit a field, fire a new event name onInitEdit, so at server can separate with truly onChange
+ when onInitEdit don't call callout
+ don't update new value to field, just move status to edittng, so decrease side effect
Carlos Ruiz September 22, 2016 at 11:13 AM
Thanks @Hiep Lq, committed the suggested changes.
However, another undesirable effect of this:
when changing a string as the first changed field on a window the callout is called, this is highly undesirable in case the callout makes a validation
For example imagine a 10 char length validation on a string (i.e. credit card length validation) - the callout will be called and will trigger the error on first character
Regards,
Carlos Ruiz

Hiep Lq September 9, 2016 at 3:11 PM
thanks @Carlos Ruiz, i upload patch
to control this feature per type of component,
now just set it effect to text, password, number editor
Carlos Ruiz September 9, 2016 at 2:06 PM
@Hiep Lq, detected a bad effect of this change, for example in product field on Physical Inventory Line the info window is opened after the first letter is typed.
Can you please check?

now, when you are editing a first field, record stay at non edit status,
util you lost focus by move to other field record become editing