Hi! I was wondering how to use the tab button on the keyboard to call a function? Something like this:
<button
class="btn btn-primary order-input-add"
ui-keypress="{13:'add_plu(order.orderwindow.add_field)'}"
ng-click="add_plu(order.orderwindow.add_field)">Add
</button>
This code segment allows me to press "enter" to call function "add_plu()"
. This uses angular ui utility library.
Thanks