Jump to content

Any examples to use emby-multilineselect element?


Go to solution Solved by softworkz,

Recommended Posts

Posted (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?


 

Bootstrap-4-Multi-Select-BsMultiSelect.jpg

Edited by jelum
Posted

@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
Posted

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.

Posted
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...