What problem does this address?
The SelectControl currently only supports id, label, value and disabled properties for the rendered <option> HTML elements.
There is no way to specifiy the title attribute for the rendered <option> elements.
For improving UX experience it would be nice to have the <option> title attribute addressable.
In that case users could see a descriptive information about the hovered item.
What is your proposed solution?
Developers should supply an additional description attribute within the controls options property which gets mapped to the rendered <option> HTML elements title attribute.
Moreover, if an item was selected the selected item description (aka title) should be set as the rendered <select> HTML element title attribute so that hovering over the control would show up the native tooltip with the description of the currently selected item.
What problem does this address?
The SelectControl currently only supports
id,label,valueanddisabledproperties for the rendered<option>HTML elements.There is no way to specifiy the
titleattribute for the rendered<option>elements.For improving UX experience it would be nice to have the
<option>titleattribute addressable.In that case users could see a descriptive information about the hovered item.
What is your proposed solution?
Developers should supply an additional
descriptionattribute within the controlsoptionsproperty which gets mapped to the rendered<option>HTML elementstitleattribute.Moreover, if an item was selected the selected item
description(akatitle) should be set as the rendered<select>HTML elementtitleattribute so that hovering over the control would show up the native tooltip with the description of the currently selected item.