You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I didn't want to store an the ID of the look up table. My lookup table only consists of the history of the field. The user may enter any value in the field or search/select from the lookup table.
Problem
Entering the field and hitting enter key does not save the field
Troubleshooting
After some troubleshooting, I found that there is 2 post data with the same name (Name of the field) sent to the server.
I believe that one is hidden and one is for the display/functionality of the lookup field.
In AutocompleteField.js, there is 2 events (change, select) set up to updateField(), which I think populates StoredField into the hidden field, so it will be used for saving.
However, when hitting on enter, I think either the form was submitted before updateField was invoked or updateField wasn't invoked at all.
Work around
I have to hit on Tab to move the nexts field to force the event change and select that invokes updateField() before hitting Enter to save the form.
The text was updated successfully, but these errors were encountered:
My Setup
Had AutoCompleteField created with
setRequiredSelection(false)
setStoredField('Title')
I didn't want to store an the ID of the look up table. My lookup table only consists of the history of the field. The user may enter any value in the field or search/select from the lookup table.
Problem
Troubleshooting
After some troubleshooting, I found that there is 2 post data with the same name (Name of the field) sent to the server.
I believe that one is hidden and one is for the display/functionality of the lookup field.
In AutocompleteField.js, there is 2 events (
change
,select
) set up toupdateField()
, which I think populates StoredField into the hidden field, so it will be used for saving.However, when hitting on enter, I think either the form was submitted before updateField was invoked or updateField wasn't invoked at all.
Work around
I have to hit on Tab to move the nexts field to force the event
change
andselect
that invokesupdateField()
before hitting Enter to save the form.The text was updated successfully, but these errors were encountered: