Better <select> components
-
Select
component to make using<select>
easier - same api as native control, it just adds all the markup and styles needed. -
ChoiceSetting
, an additional helper for settings modal, same asBooleanSetting
. UsesSelect
inside but doesn't use<option>
s, instead you need to pass an array with propertieskey, value, label
, likeBooleanSetting
it also completely handles defaults (modified indicator + '(default)' in options) by itself. - Some minor refactorings like selects in poll form now use
.unstyled
instead of resettting styles.