jelum 31 Posted October 6, 2024 Posted October 6, 2024 (edited) Spoiler Hi, I want to implement multiselect dropdown, something like this but with Emby colors and style for a plugin configuration page. Can somebody point me to a working example or share code snippet? Edited October 6, 2024 by jelum
softworkz 4500 Posted October 6, 2024 Posted October 6, 2024 Hi, there's a demo plugin in the Emby SDK which also includes an example for a multi-select dropdown: https://dev.emby.media/home/sdk/plugins/sample_ui_demo.html sw 1
jelum 31 Posted October 6, 2024 Author Posted October 6, 2024 @softworkz, I didn't find there any javascript code. Let me describe what I want to achieve. I make a plugin that should have a multi-select dropdown on the configuration page to choose required provider IDs. Normal select (dropdown) in Emby style I already used, but once I added "multiselect" attribute to the html tag it started to look strange. So the question - how I can use emby-multilineselect JS element correctly?
Solution softworkz 4500 Posted October 6, 2024 Solution Posted October 6, 2024 The new PluginUI is the recommended way for creating plugin UI, going forward. It will always look right with all themes and it will never break. Also, you don't need to write a single line of JS code, you can do it all from the server plugin code.
jelum 31 Posted October 6, 2024 Author Posted October 6, 2024 Just now, softworkz said: The new PluginUI is the recommended way for creating plugin UI, going forward. It will always look right with all themes and it will never break. Also, you don't need to write a single line of JS code, you can do it all from the server plugin code. Thanks, I'll try
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now