We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
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

Jet button on click event has to be pressed twice

Received Response
4
Views
1
Comments
edited Jan 22, 2021 12:20PM in Visual Builder 1 comment

Content

Hello,

i have added click event on button where i i am doing some action. The action gets triggered when i press button 2 time. on first click nothing happens. any help appreciated!

<oj-button class="oj-button-sm" chroming="callToAction" on-click="[[$listeners.ojButtonClick]]">Add</oj-button>

Version

Version: 20.10.1

Code Snippet

"ojButtonClick": {
      "chains": [
        {
          "chainId": "AddTransactionLineClickChain",
          "parameters": {
            "partNumber": "{{ $current.data.partNumber }}",
            "Quantity": "{{ $current.data.partQuantity }}"
          }
        }
      ]
    }
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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