diff --git a/dist/plex-meets-homeassistant.js b/dist/plex-meets-homeassistant.js index 75f939c..795a564 100644 --- a/dist/plex-meets-homeassistant.js +++ b/dist/plex-meets-homeassistant.js @@ -19957,6 +19957,8 @@ class PlexMeetsHomeAssistantEditor extends HTMLElement { const addDropdownItem = (text, disabled = false) => { const libraryItem = document.createElement('paper-item'); libraryItem.innerHTML = text.replace(/ /g, ' '); + libraryItem.label = text; + console.log('Test2'); if (disabled) { libraryItem.disabled = true; } diff --git a/src/editor.ts b/src/editor.ts index 66bb277..3c47b46 100644 --- a/src/editor.ts +++ b/src/editor.ts @@ -175,6 +175,8 @@ class PlexMeetsHomeAssistantEditor extends HTMLElement { const addDropdownItem = (text: string, disabled = false): HTMLElement => { const libraryItem: any = document.createElement('paper-item'); libraryItem.innerHTML = text.replace(/ /g, ' '); + libraryItem.label = text; + console.log('Test2'); if (disabled) { libraryItem.disabled = true; }