How update any fields on field_type?
Created 7 years ago by flexnstMy field_type is a map to select the location information contains 3 fields: "{field_name}", "{field_name}_lat", "{field_name}_lng". Main field {field_name} successfully saved, but I can not understand how to save values of the other two ( {field_name}_lat, {field_name}_lng). Can you help me, please? Im search documentation, but i see https://pyrocms.com/documentation/streams-platform/v1.1#addons/field-types-incomplete
Good question! This is something that the Geocoder Field Type could do for you (which is included in PRO) but to take from it's example:
Properties are just an array of columns it manages. This class is called an
Accessor
for the type and is responsible for accessing the data on the object (which in turn get's saved to DB).