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

Unable to access extra value select list

Accepted answer
5
Views
2
Comments
edited Sep 8, 2021 5:27AM in Visual Builder Studio 2 comments

Content

Unable to map extra endpoint value in variable and display as read only on selection of select list value
 
Page component
<oj-input-date value="{{ $variables.eta }}" readonly="true" label-hint="ETA"></oj-input-date>
 
bind with variable eta
 
Javascript code
 
 PageModule.prototype.FindETA = function(list,value) {
    return list.find(record => record.id === value ).estimatedArrivalDate;
  };

 

 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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