Postponed on #1899236: Add new Splitbutton render element to eventually replace Dropbutton
Problem/Motivation
The splitbutton render element, added in #1899236: Add new Splitbutton render element to eventually replace Dropbutton, can be easily configured to function as a dropdown, by adding a #title property. This is probably not besomething that would be immediately apparent, so it would benefit DX to create a 'dropdown' render element that extends splitbutton and always uses the #title property. This new render element could also provide classes so it is not styled like a standard button, which is how splitbuttons are styled.
As a clarification the difference between dropdown and a select input is that the items within 'dropdown' would not be a list of values to select from, but a combination of links, inputs, and buttons.
Comments