You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on creating custom fields in my application. I am allowing clients to define custom fields for various objects (ie. Initiative) and displaying them when updating or creating that object.
In my state I define the object being modified or added:
the custom_fields array is filled with the custom fields defined for initiatives. For example, in the json response from the database, the custom fields array will include something like this...
I am trying to edit the value for each of those custom fields through vuex map fields. Currently, I am not mutating the state. I am directly using v-model on the state.
I am not sure how to replace v-model="addEditInitiative.custom_fields[index].value" with something that will mutate the state. For Example, this is my current MapFields setup
I am working on creating custom fields in my application. I am allowing clients to define custom fields for various objects (ie. Initiative) and displaying them when updating or creating that object.
In my state I define the object being modified or added:
(initiatives.js)
the
custom_fields
array is filled with the custom fields defined for initiatives. For example, in the json response from the database, the custom fields array will include something like this...I am trying to edit the value for each of those custom fields through vuex map fields. Currently, I am not mutating the state. I am directly using v-model on the state.
(Vue Component)
I am not sure how to replace
v-model="addEditInitiative.custom_fields[index].value"
with something that will mutate the state. For Example, this is my current MapFields setup(Vue Component)
How can I update the array using this?
The text was updated successfully, but these errors were encountered: