record should move to editing mode when user is editing first field

Description

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

Environment

None

Attachments

5
  • 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

Show:

Hiep Lq September 24, 2016 at 8:38 PM

hi 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 , 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 , 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

, 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?

Hiep Lq September 4, 2016 at 2:45 PM

Fixed

Details

Assignee

Reporter

Labels

Affects versions

Priority

Created September 4, 2016 at 3:50 AM
Updated November 1, 2016 at 12:54 PM
Resolved September 29, 2016 at 10:39 AM