I am aiming to create a node with multiple selection generated dynamically from an HTTP request

Hey Steve & al.,

Thanks for the support. I managed to do this part (i.e., call to the HTTP endpoint, and building the multiple selection accordingly). Here is the code, as you might have understood I never used HTML and js so :slight_smile:

oneditprepare: function() {
            const url = 'https://casatest.free.beeceptor.com/tags'
            let tags = [];
            let selections = [];
            $.ajax({
                url: url,
                type: "GET",
                success: function(result){
                    tags = result.tags
                    console.log(tags)
                    for (let i = 0; i < tags.length; i++){
                        let obj = {value: tags[i], label: tags[i]}
                        selections.push(obj)
                    }
                    $("#node-input-tags").typedInput({type:"tags", types:[{
                        value: "tags",
                        multiple: true,
                        options: selections
                    }]})
                },
                error: function(result){
                    console.log('Error ${error}')
                }
            })
        }

Now the piece that I'm missing is: how do I access the selections on the oneditsave method? I don't think I found the right reference anywhere.

Thanks a lot!