As you can see, I have tried using the base_format and the ‘data_type_id’.
I’m also binding the input to v-model using v-model=‘picked’ and then using that value to assign a cs reference for the choice type (either ‘agent’ or ‘owner’ to the ‘fetch’ object. However, not getting very far. I keep hitting errors such as:
‘Reference - field_path - No replacement found. (DTC0000246GBJZS1) is not available’
The result is that the radio button option selected is not saved.
So the setting called “contact_type” is the actual setting for picking your choice value that you want to save, right?
You need another setting so that you could define the actual field path where the “contact_type” value should be saved to, same way how the “address_line1” etc are defined.
So, assuming is :PRO0000360GBJZS1 the field path to the your data type choice and the DTC0000246GBJZS1 is the correct data type choice value, that data should save.
Are you seeing anything in detective log when trying to save? can you look at the event that does the saving and see if the data type choice is being passed in?
:PRO0000360GBJZS1 is the field path for the data type choice, yes.
I’m not seeing any errors in the log. When I change a value and save, this is what detective shows:
Have you got something like the Object explorer ? check that record and all the properties to see if they are there, maybe it is being saved but there is an issue elsewhere?
Having had a chat with Mark and a look around the widget. The values were being saved correctly into the backend database. Issue was the when the data was pulled on page load for display it was not setting the “current” selection on the radio button.