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

Combox(one) Component (oj-combobox-one) Issue.

edited Jan 21, 2021 5:18AM in Visual Builder 1 comment

Summary

In oj-combobox-one user click on lov and select one value from the lov and click on Enter button no events are firing but we have added the keypress event to it.

Content

When i select value from lov and click on Enter button the key press event action is not working as excepted it is setting the value to lov.

 

Thanks,

Neelamarju.

Version

20.10.2

Code Snippet

<div class="oj-flex">
  <oj-accordion class="oj-flex-item oj-sm-12 oj-md-1">
    <oj-collapsible id="oj-collapsible-1947013979-1" expanded="true" style="width:1000px">
  <oj-form-layout label-edge="start">
     
  <oj-combobox-one label-hint="Customer Name" id="oj-combobox-one-1947013979-1" class="oj-flex-item oj-sm-12 oj-md-4" options="[[$page.variables.getCustomer2ListSDP]]" options-keys.value="Customer" options-keys.label="Customer" value="{{ $variables.custName }}" on-keypress="[[$listeners.ojComboboxOne19470139791Keypress]]"></oj-combobox-one>
  <oj-input-text label-hint="Cust#" value="{{ $variables.custNum }}" on-keypress="[[$listeners.ojInputTextKeypress]]"></oj-input-text>
   
  </oj-form-layout>
  <h1 slot="header">Search</h1>
  
</oj-collapsible>
</oj-accordion>

</div>
 <div class="oj-flex-item oj-sm-12 oj-md-4">
    <oj-button on-oj-action="[[$listeners.ojButtonOjAction]]">Search</oj-button>
  </div>
<div class="oj-flex">
  <oj-table scroll-policy="loadMoreOnScroll" class="oj-flex-item oj-sm-12 oj-md-12" data="[[ $variables.getCustomerResultADP ]]" columns='[{"headerText":"Customer Name","field":"CustomerName"},{"headerText":"Customer Site Name","field":"CustomerSiteName"},{"headerText":"Cutomer Number","field":"CutomerNumber"},{"headerText":"Customer Site Number","field":"CustomerSiteNumber"},{"headerText":"Owner","field":"Owner"}]' scroll-policy-options.fetch-size="50"></oj-table>
</div>

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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