Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4828

Ember Action - Bubbles

$
0
0

@JKP wrote:

I have a row which contains a drop down in which individual drop down item contains specific actions. The row also has an action. In order to avoid the bubbling of row action in drop down, i have to set bubbles as false. [ {{action bubbles=false}}] It throws an error, “Uncaught TypeError: Cannot read property ‘value’ of undefined” . I guess it might be due to the absence of action name.

Sample:

<tr {{action "rowAction"}}>
   <div class="dropdown">
         <span data-toggle="dropdown" {{action bubbles=false}}> //image </span>
         //drop down menu
        <ul>
           <li {{action "doSomething" bubbles=false}}></li>
         // other drop down list
       </ul>
   </div>
</tr>

Is there any solution for this case? TIA.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles