You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to Handle combo-box displaying name but we are storing in the back-end in oj-dialog component.

Summary:

Consider we are having a oj-combobox-one component in our page and it is displaying employee name as label and but we want to store only ids in the back-end.
To handle that we can use a sdp with both label and value as employee name having employee id included in row data while adding options and on value-changed action chain, we can store the id in another variable retreived from input parameter value i.e., {{ $event.detail.data}}
Again when page loads, we can retrieve name from id and display it in our page.

THE ISSUE:
When clicked on edit button, rest services for sdp used in comboboxes are getting called. How to avoid them and better approach to insert a row other than editable table.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!