materialdesign - Icon List: more than one button active #168
Description
Describe the bug
Widget: materialdesign - Icon List: more than one button is active if "1T / 1 day" or "2T / 2 days" or "1M / 1 month" or "2M / 2 months" or "1J / 1 year" is selected.
To Reproduce
import widget below unter materialdesign v0.3.19 or v0.5.6
Expected behavior
only one button is active at every time
Widget Export
[{"tpl":"tplVis-materialdesign-Icon-List","data":{"g_fixed":false,"g_visibility":false,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","wrapItems":false,"vibrateOnMobilDevices":"0","listLayout":"standard","itemLayout":"vertical","buttonLayout":"full","listItemDataMethod":"inputPerEditor","countListItems":"7","listType0":"buttonState","showValueLabel0":false,"listType1":"buttonState","showValueLabel1":false,"signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"maxItemsperRow":"7","itemGaps":"1","listType2":"buttonState","showValueLabel2":false,"listType3":"buttonState","showValueLabel3":false,"listType4":"buttonState","showValueLabel4":false,"listType5":"buttonState","showValueLabel5":false,"label0":"12h","itemBackgroundColor":"#eeeef0","buttonBgColor0":"#eeeef0","buttonBgColorActive0":"#ffffff","label1":"1T","buttonBgColor1":"#eeeef0","buttonBgColorActive1":"#ffffff","buttonBgColor2":"#eeeef0","buttonBgColor3":"#eeeef0","buttonBgColor4":"#eeeef0","buttonBgColor5":"#eeeef0","buttonBgColorActive2":"#ffffff","buttonBgColorActive3":"#ffffff","buttonBgColorActive4":"#ffffff","buttonBgColorActive5":"#ffffff","labelFontFamily":"Arial, Helvetica, sans-serif","labelFontColor":"#000000","subLabelFontSize":"","labelFontSize":"15","label2":"2T","label3":"1W","label4":"2W","label5":"1M","g_lock":false,"autoLockAfter":"10","lockIconTop":"5","lockIconLeft":"5","lockFilterGrayscale":"30","lockApplyOnlyOnImage":"true","iconItemMinWidth":"","listType6":"buttonState","showValueLabel6":false,"listType7":"buttonState","showValueLabel7":false,"label6":"2M","label7":"1J","horizontalIconContainerWidth":"","statusBarColor0":"","oid1":"0_userdata.0.stromverbrauch.displayGraphTime","oid0":"0_userdata.0.stromverbrauch.displayGraphTime","oid2":"0_userdata.0.stromverbrauch.displayGraphTime","oid3":"0_userdata.0.stromverbrauch.displayGraphTime","oid4":"0_userdata.0.stromverbrauch.displayGraphTime","oid5":"0_userdata.0.stromverbrauch.displayGraphTime","oid6":"0_userdata.0.stromverbrauch.displayGraphTime","oid7":"0_userdata.0.stromverbrauch.displayGraphTime","listTypeButtonStateValue0":"12 hours","listTypeButtonStateValue1":"1 day","listTypeButtonStateValue2":"2 days","listTypeButtonStateValue3":"7 days","listTypeButtonStateValue4":"14 days","listTypeButtonStateValue5":"1 month","listTypeButtonStateValue6":"2 months","listTypeButtonStateValue7":"1 year","g_listItemCardBackground":false,"titleLayout":"headline6","verticalIconContainerHeight":"","iconHeight":"","buttonBgColor6":"#eeeef0","buttonBgColor7":"#eeeef0","buttonBgColorActive6":"#ffffff","buttonBgColorActive7":"#ffffff","itemBackgroundColor1":"","containerBackgroundColor":"","buttonColorPress":"","subLabelFontFamily":"","subLabelFontColor":"","valueFontSize":"","valueFontFamily":"","valueFontColor":"","showScrollbar":"true","titleFontFamily":"#mdwTheme:vis-materialdesign.0.fonts.card.title","colorBackground":"#mdwTheme:vis-materialdesign.0.colors.card.background","colorTitleSectionBackground":"#mdwTheme:vis-materialdesign.0.colors.card.background_title","colorTextSectionBackground":"#mdwTheme:vis-materialdesign.0.colors.card.background_body","colorTitle":"#mdwTheme:vis-materialdesign.0.colors.card.title","lockIconColor":"#mdwTheme:vis-materialdesign.0.colors.icon_list.lock_icon","listImageColor0":"","listImageColor1":"","listImageColor2":"","listImageColor3":"","listImageColor4":"","listImageColor5":"","listImageColor6":"","listImageColor7":""},"style":{"left":"16px","top":"548px","z-index":"2","width":"calc(100% - 32px)","height":"46px","overflow-x":"auto","overflow-y":"hidden"},"widgetSet":"materialdesign"}]
Versions:
- Adapter version: material design widgets v0.3.19 / v0.5.6
- JS-Controller version: v3.2.16 / v3.3.8
- Node version: v12.22.1
- VIS Adapter version: v1.3.8 / v1.3.9