Access to Structure Item Value on Plugin

So I started to make new custom field that works in structure field and so newby in Vue.

How can i access to structure item value that same index?

Following example, i need to “Need Access Field” value from “My Custom Field”:

What’s the trick?
Thanks

I made a little progress in Vue :partying_face: But i stacked on options :pensive:

In my plugin, i’m trying to load dynamic options from custom endpoint url and succeeded in this like following mounted() method:

Here my mounted() function:

mounted() {
    var self = this;
    const csrf = panel.csrf;

    fetch(panel.api + '/api/test', {
        method: "GET",
        headers: {
            "X-CSRF": csrf
        }
    }).then(function (response) {
        return response.json();
    }).then(function (data) {
        self.options = data;
    }).catch((error) => {
        console.log(error);
    });
}

All loaded options disappearing after selected/added any option like screencast.

Where am I doing wrong?

Is there anyone have an idea? :pray:

Could you post the whole component?

Sure, thank you in advance

Vue index.js

https://jsfiddle.net/r5a1we09/

Blueprint

attName:
    label: Att Name
    type: text
    width: 1/4

attValues:
    label: Att Values
    type: tagsrelated
    width: 3/4
    api: /products/attributes
    related: attName

Btw, options are loading correctly when i opened the structure item after save/cancel.
Only disappearing after select a tag.

Solved with watch() method as load options each event on value like that:

watch: {
    value(value) {
        this.fetchOptions();
    }
}
mounted() {
    this.fetchOptions();
},
methods: {
     fetchOptions(options) {
        // load options
     }
}
'extends' => 'tags',    // index.php
 extends: "k-tags-field", // index.js
 extends: 'k-tags-input', // index.js

I made this plugin with extends the tags plugin, but why is the core tags plugin affected with this extending?

What do I have to do to keep core fields from getting affected?