bakes82 167 Posted February 26, 2025 Posted February 26, 2025 [Browsable(false)] [DontSave] public IEnumerable<EditorSelectOption> SeriesLibraries { get; set; } [DisplayName("Libraries to export")] [SelectItemsSource(nameof(SeriesLibraries))] [EditMultilSelect] [DontSave] public IList<string> LibraryId { get; set; } public override Task<IPluginUIView> RunCommand(string itemId, string commandId, string data) { if (commandId == "1") { _logger.Info("madeit"); return Task.FromResult((IPluginUIView)this); } return base.RunCommand(itemId, commandId, data); } It seems in .38 when using a multiselect I now get an error when values are set for LibrayId using the MultilSelect. If I dont select anything and do the button click, no error. when I select values, error, it seems to be happening in the base as my code completes fine and I see values in the list of LibraryIds.
softworkz 5066 Posted February 26, 2025 Posted February 26, 2025 A multiselect property needs to have a type of string with comma separation.
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