I just did an add-on for geojson location. I’d like to populate the search input field with information from other fields (street, city) in my collection.
It’s seems that the $this
object gives access to all fields in my collection, but is there a way to grab the current value?
For example this: this.$boundTo.fieldsidx.street
returns all the field information, but it doesn’t contain values.
{name: "street", label: "", type: "text", default: "", info: "", …}
There is the “$getValue” option. How could I use that and point to a specific field? Or is there another way to do this.