I have a named action with something in the onClick but nothing appears in the options of the named action when the utility hook runs. I am trying to pass current data point in to the named hook so I can grab it out of FM
typically you would pass the whole object form the context into the named action … something like this:
<div v-for="contact in model.contacts" @click="namedAction('selectContact' , {contact:contact} )" > {{contact.name}} </div>
in this case namedAction is given two arguments theName and the options
For the options we are passing {contact:contact} which will be an object with key ‘contact’ containing the contact object.
It can later be read with
var theContact = action.options.contact