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
Current behaviour:
adf-form in APS context sends an object with the values of restIdProperty and restLabelProperty as properties when using an autocomplete field with REST retrieved options different than id/name and the endpoint is not accepting it.
Expected behavior:
The form should still send a request with "id"/"name" properties in the object or the endpoint should accept the mapping set via APS.
Steps to reproduce the issue:
I am using an adf-form to display an APS task with a form including an Autocomplete required field with options from a custom API and a different format than "id"/"name". The property ID and the property label in APS are set to "nodeId" and "nom" so the adf-form is sending in the request an object with these properties, making the endpoint responding an HTTP400 and saying the required field isn't completed. This was working in ADF4.4.0 and the request was made using "id"/"name" properties for the object.
In the case the field is not required it looks like the value is not getting received by the endpoint either, but no error is catched.
Component name and version:
adf-form in v4.11.0
Browser and version:
[all]
Node version (for build issues):
14.15.5
The text was updated successfully, but these errors were encountered:
Type of issue: (check with "[x]")
Current behaviour:
adf-form in APS context sends an object with the values of restIdProperty and restLabelProperty as properties when using an autocomplete field with REST retrieved options different than id/name and the endpoint is not accepting it.
Expected behavior:
The form should still send a request with "id"/"name" properties in the object or the endpoint should accept the mapping set via APS.
Steps to reproduce the issue:
I am using an adf-form to display an APS task with a form including an Autocomplete required field with options from a custom API and a different format than "id"/"name". The property ID and the property label in APS are set to "nodeId" and "nom" so the adf-form is sending in the request an object with these properties, making the endpoint responding an HTTP400 and saying the required field isn't completed. This was working in ADF4.4.0 and the request was made using "id"/"name" properties for the object.
In the case the field is not required it looks like the value is not getting received by the endpoint either, but no error is catched.
Component name and version:
adf-form in v4.11.0
Browser and version:
[all]
Node version (for build issues):
14.15.5
The text was updated successfully, but these errors were encountered: