Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OJ Combobox not showing label value when its value is set via observable

Parupally SrikanthFeb 28 2018 — edited Feb 28 2018

Hi ,

I am using JET V4.0 and we are using a single page for CREATE and EDIT purposes. This page is having a combo box which has its values sourced from a REST service.

\<oj-combobox-one id="OrgSelectCombobox1" value="{{EmailSelectedValue}}"

                                          style="max-width:10em"  >

In the CREATE mode, its working fine as the field would be blank and user can select one of the value.

Here we have tied an observable variable to the value property of the <oj-combo-box> component. We are using this variable value to save to the DB.

CREATE mode :

Working.JPG

However when in EDIT mode we are setting the observable value to the required ID, hoping that the corresponding human readable text would be displayed.

However it still shows a numerical value. ( not the label value. ) This is not expected since we want to see user understandable value, but not the id.

EDIT mode :

NotWorking.JPG

Any help is highly appreciated.

Thanks,

Srikanth

Comments

Processing

Post Details

Added on Feb 28 2018
1 comment
209 views