          }, {
                    id: "Potato",
                    text: "Potato",
                    label: "Vegetable"
                },
                {
                    id: "Squash",
                    text: "Squash",
                    label: "Vegetable"
                },
            ]
        }

        function callRemoteData(filter, selectedOptgroup) {
            return new Promise(function (resolve, reject) {
                console.log("Remote function got called for data (so you see t