                                    };
                                })
                            );
                        });
                    },
                    select: function (event, ui) {
                        // Sets Datapoint and device name automatically
                        const sDevName = ui.item.value.trim();
                        $(_sourceWidgetAutocomplete).val(sDevName);
                    },
                }).focus(function () {
                    $(this).autocomplete