Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[input]: mdw-clearIconShow=false not working @ htmlexport #182

Closed
darkiop opened this issue Jun 25, 2021 · 0 comments
Closed

[input]: mdw-clearIconShow=false not working @ htmlexport #182

darkiop opened this issue Jun 25, 2021 · 0 comments

Comments

@darkiop
Copy link
Contributor

darkiop commented Jun 25, 2021

the html export generates a

mdw-clearIconShow='true|false'

the delete icon is only not shown via the html if the line mdw-clearIconShow is removed. false seems to be without function.

Version 0.5.9

Example:
[{"tpl":"tplVis-materialdesign-List","data":{"g_fixed":false,"g_visibility":true,"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":"true","visibility-groups-action":"hide","vibrateOnMobilDevices":"50","listType":"text","listItemDividerStyle":"standard","listLayout":"standard","showScrollbar":"true","listItemDataMethod":"inputPerEditor","countListItems":"1","listItemAlignment":"left","listBackground":"#mdwTheme:vis-materialdesign.0.colors.list.background","listItemBackground":"#mdwTheme:vis-materialdesign.0.colors.list.background_off","listItemBackgroundActive":"#mdwTheme:vis-materialdesign.0.colors.list.background_on","colorSwitchThumb":"#mdwTheme:vis-materialdesign.0.colors.switch.off","colorSwitchTrack":"#mdwTheme:vis-materialdesign.0.colors.switch.track","colorSwitchTrue":"#mdwTheme:vis-materialdesign.0.colors.switch.on","colorSwitchHover":"#mdwTheme:vis-materialdesign.0.colors.switch.off_hover","colorCheckBox":"#mdwTheme:vis-materialdesign.0.colors.checkbox.on","colorListItemHover":"#mdwTheme:vis-materialdesign.0.colors.list.hover","colorListItemSelected":"#mdwTheme:vis-materialdesign.0.colors.list.selected","colorListItemText":"#mdwTheme:vis-materialdesign.0.colors.list.text","colorListItemTextSecondary":"#mdwTheme:vis-materialdesign.0.colors.list.subText","colorListItemTextRight":"#mdwTheme:vis-materialdesign.0.colors.list.text_right","colorListItemTextSecondaryRight":"{mode:vis-materialdesign.0.colors.darkTheme;light:vis-materialdesign.0.colors.light.list.subText_right;dark:vis-materialdesign.0.colors.dark.list.subText_right; mode === \"true\" ? dark : light}","colorListItemHeaders":"#mdwTheme:vis-materialdesign.0.colors.list.header","colorListItemDivider":"#mdwTheme:vis-materialdesign.0.colors.list.divider","headerFontFamily":"#mdwTheme:vis-materialdesign.0.fonts.list.header","listItemFont":"#mdwTheme:vis-materialdesign.0.fonts.list.text","listItemSubFont":"#mdwTheme:vis-materialdesign.0.fonts.list.subText","listItemRightFont":"#mdwTheme:vis-materialdesign.0.fonts.list.text_right","listItemSubRightFont":"#mdwTheme:vis-materialdesign.0.fonts.list.subText_right","listItemTextSize":"#mdwTheme:vis-materialdesign.0.fontSizes.list.text","listItemSubTextSize":"#mdwTheme:vis-materialdesign.0.fontSizes.list.subText","listItemTextRightSize":"#mdwTheme:vis-materialdesign.0.fontSizes.list.text_right","listItemSubTextRightSize":"#mdwTheme:vis-materialdesign.0.fontSizes.list.subText_right","listItemHeaderTextSize":"#mdwTheme:vis-materialdesign.0.fontSizes.list.header","listImageColor0":"#mdwTheme:vis-materialdesign.0.colors.list.icon_off","listImageActiveColor0":"#mdwTheme:vis-materialdesign.0.colors.list.icon_on","listImageColor1":"#mdwTheme:vis-materialdesign.0.colors.list.icon_off","listImageActiveColor1":"#mdwTheme:vis-materialdesign.0.colors.list.icon_on","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,"label0":"kein Lösch-Symbol","subLabel0":"","label1":"mit Lösch-Symbol","rightLabel0":"<div class='vis-widget materialdesign-widget materialdesign-input materialdesign-input-html-element'\n\tstyle='width: 100px; height: 38px; position: relative; overflow: visible; display: flex; align-items: center;'\n\tmdw-oid='javascript.0.Beschattung.Automatik.Automatik_min_uhrzeit_morgens'\n\tmdw-inputType='text'\n\tmdw-inputLayout='solo'\n\tmdw-inputAlignment='left'\n\tmdw-inputLayoutBorderColor='#mdwTheme:vis-materialdesign.0.colors.input.border'\n\tmdw-inputLayoutBorderColorHover='#mdwTheme:vis-materialdesign.0.colors.input.border_hover'\n\tmdw-inputLayoutBorderColorSelected='#mdwTheme:vis-materialdesign.0.colors.input.border_selected'\n\tmdw-inputTextFontFamily='#mdwTheme:vis-materialdesign.0.fonts.input.text'\n\tmdw-inputTextFontSize='#mdwTheme:vis-materialdesign.0.fontSizes.input.text'\n\tmdw-inputTextColor='#mdwTheme:vis-materialdesign.0.colors.input.text'\n\tmdw-inputLabelColor='#mdwTheme:vis-materialdesign.0.colors.input.label'\n\tmdw-inputLabelColorSelected='#mdwTheme:vis-materialdesign.0.colors.input.label_selected'\n\tmdw-inputLabelFontFamily='#mdwTheme:vis-materialdesign.0.fonts.input.label'\n\tmdw-inputLabelFontSize='#mdwTheme:vis-materialdesign.0.fontSizes.input.label'\n\tmdw-inputAppendixColor='#mdwTheme:vis-materialdesign.0.colors.input.appendix'\n\tmdw-inputAppendixFontSize='#mdwTheme:vis-materialdesign.0.fontSizes.input.appendix'\n\tmdw-inputAppendixFontFamily='#mdwTheme:vis-materialdesign.0.fonts.input.appendix'\n\tmdw-showInputMessageAlways='true'\n\tmdw-inputMessageFontFamily='#mdwTheme:vis-materialdesign.0.fonts.input.message'\n\tmdw-inputMessageFontSize='#mdwTheme:vis-materialdesign.0.fontSizes.input.message'\n\tmdw-inputMessageColor='#mdwTheme:vis-materialdesign.0.colors.input.message'\n\tmdw-inputCounterColor='#mdwTheme:vis-materialdesign.0.colors.input.counter'\n\tmdw-inputCounterFontSize='#mdwTheme:vis-materialdesign.0.fontSizes.input.counter'\n\tmdw-inputCounterFontFamily='#mdwTheme:vis-materialdesign.0.fonts.input.counter'\n\tmdw-clearIconColor='#mdwTheme:vis-materialdesign.0.colors.input.icon_clear'\n></div>","listOverflow1":false,"rightLabel1":"<div class='vis-widget materialdesign-widget materialdesign-input materialdesign-input-html-element'\n\tstyle='width: 100px; height: 38px; position: relative; overflow: visible; display: flex; align-items: center;'\n\tmdw-oid='javascript.0.Beschattung.Automatik.Automatik_min_uhrzeit_morgens_wochenende'\n\tmdw-inputType='text'\n\tmdw-inputLayout='solo'\n\tmdw-inputAlignment='left'\n\tmdw-inputLayoutBorderColor='#mdwTheme:vis-materialdesign.0.colors.input.border'\n\tmdw-inputLayoutBorderColorHover='#mdwTheme:vis-materialdesign.0.colors.input.border_hover'\n\tmdw-inputLayoutBorderColorSelected='#mdwTheme:vis-materialdesign.0.colors.input.border_selected'\n\tmdw-inputTextFontFamily='#mdwTheme:vis-materialdesign.0.fonts.input.text'\n\tmdw-inputTextFontSize='#mdwTheme:vis-materialdesign.0.fontSizes.input.text'\n\tmdw-inputTextColor='#mdwTheme:vis-materialdesign.0.colors.input.text'\n\tmdw-inputLabelColor='#mdwTheme:vis-materialdesign.0.colors.input.label'\n\tmdw-inputLabelColorSelected='#mdwTheme:vis-materialdesign.0.colors.input.label_selected'\n\tmdw-inputLabelFontFamily='#mdwTheme:vis-materialdesign.0.fonts.input.label'\n\tmdw-inputLabelFontSize='#mdwTheme:vis-materialdesign.0.fontSizes.input.label'\n\tmdw-inputAppendixColor='#mdwTheme:vis-materialdesign.0.colors.input.appendix'\n\tmdw-inputAppendixFontSize='#mdwTheme:vis-materialdesign.0.fontSizes.input.appendix'\n\tmdw-inputAppendixFontFamily='#mdwTheme:vis-materialdesign.0.fonts.input.appendix'\n\tmdw-showInputMessageAlways='true'\n\tmdw-inputMessageFontFamily='#mdwTheme:vis-materialdesign.0.fonts.input.message'\n\tmdw-inputMessageFontSize='#mdwTheme:vis-materialdesign.0.fontSizes.input.message'\n\tmdw-inputMessageColor='#mdwTheme:vis-materialdesign.0.colors.input.message'\n\tmdw-inputCounterColor='#mdwTheme:vis-materialdesign.0.colors.input.counter'\n\tmdw-inputCounterFontSize='#mdwTheme:vis-materialdesign.0.fontSizes.input.counter'\n\tmdw-inputCounterFontFamily='#mdwTheme:vis-materialdesign.0.fonts.input.counter'\n\tmdw-clearIconShow='true'\n\tmdw-clearIconColor='#mdwTheme:vis-materialdesign.0.colors.input.icon_clear'\n></div>","listOverflow0":false,"subLabel1":"","rightTextWidth":"120","listImageColor2":"#mdwTheme:vis-materialdesign.0.colors.list.icon_off","listImageActiveColor2":"#mdwTheme:vis-materialdesign.0.colors.list.icon_on","subLabel2":"","groupHeader0":"min. UHrzeit","visibility-oid":"javascript.0.Beschattung.Automatik.Automatik_aktiv","listImageColor3":"#mdwTheme:vis-materialdesign.0.colors.list.icon_off","listImageActiveColor3":"#mdwTheme:vis-materialdesign.0.colors.list.icon_on","label3":"Abends - Wochenende","rightLabel2":"<div class='vis-widget materialdesign-widget materialdesign-input materialdesign-input-html-element'\n\tstyle='width: 100px; height: 38px; position: relative; overflow: visible; display: flex; align-items: center;'\n\tmdw-oid='javascript.0.Beschattung.Automatik.Automatik_min_uhrzeit_abends'\n\tmdw-inputType='text'\n\tmdw-inputLayout='solo'\n\tmdw-inputAlignment='left'\n\tmdw-inputLayoutBorderColor='#mdwTheme:vis-materialdesign.0.colors.input.border'\n\tmdw-inputLayoutBorderColorHover='#mdwTheme:vis-materialdesign.0.colors.input.border_hover'\n\tmdw-inputLayoutBorderColorSelected='#mdwTheme:vis-materialdesign.0.colors.input.border_selected'\n\tmdw-inputTextFontFamily='#mdwTheme:vis-materialdesign.0.fonts.input.text'\n\tmdw-inputTextFontSize='#mdwTheme:vis-materialdesign.0.fontSizes.input.text'\n\tmdw-inputTextColor='#mdwTheme:vis-materialdesign.0.colors.input.text'\n\tmdw-inputLabelColor='#mdwTheme:vis-materialdesign.0.colors.input.label'\n\tmdw-inputLabelColorSelected='#mdwTheme:vis-materialdesign.0.colors.input.label_selected'\n\tmdw-inputLabelFontFamily='#mdwTheme:vis-materialdesign.0.fonts.input.label'\n\tmdw-inputLabelFontSize='#mdwTheme:vis-materialdesign.0.fontSizes.input.label'\n\tmdw-inputAppendixColor='#mdwTheme:vis-materialdesign.0.colors.input.appendix'\n\tmdw-inputAppendixFontSize='#mdwTheme:vis-materialdesign.0.fontSizes.input.appendix'\n\tmdw-inputAppendixFontFamily='#mdwTheme:vis-materialdesign.0.fonts.input.appendix'\n\tmdw-showInputMessageAlways='true'\n\tmdw-inputMessageFontFamily='#mdwTheme:vis-materialdesign.0.fonts.input.message'\n\tmdw-inputMessageFontSize='#mdwTheme:vis-materialdesign.0.fontSizes.input.message'\n\tmdw-inputMessageColor='#mdwTheme:vis-materialdesign.0.colors.input.message'\n\tmdw-inputCounterColor='#mdwTheme:vis-materialdesign.0.colors.input.counter'\n\tmdw-inputCounterFontSize='#mdwTheme:vis-materialdesign.0.fontSizes.input.counter'\n\tmdw-inputCounterFontFamily='#mdwTheme:vis-materialdesign.0.fonts.input.counter'\n\tmdw-clearIconShow='true'\n\tmdw-clearIconColor='#mdwTheme:vis-materialdesign.0.colors.input.icon_clear'\n></div>","label2":"Abends - Werktags","rightLabel3":"<div class='vis-widget materialdesign-widget materialdesign-input materialdesign-input-html-element'\n\tstyle='width: 100px; height: 38px; position: relative; overflow: visible; display: flex; align-items: center;'\n\tmdw-oid='javascript.0.Beschattung.Automatik.Automatik_min_uhrzeit_abends_wochenende'\n\tmdw-inputType='text'\n\tmdw-inputLayout='solo'\n\tmdw-inputAlignment='left'\n\tmdw-inputLayoutBorderColor='#mdwTheme:vis-materialdesign.0.colors.input.border'\n\tmdw-inputLayoutBorderColorHover='#mdwTheme:vis-materialdesign.0.colors.input.border_hover'\n\tmdw-inputLayoutBorderColorSelected='#mdwTheme:vis-materialdesign.0.colors.input.border_selected'\n\tmdw-inputTextFontFamily='#mdwTheme:vis-materialdesign.0.fonts.input.text'\n\tmdw-inputTextFontSize='#mdwTheme:vis-materialdesign.0.fontSizes.input.text'\n\tmdw-inputTextColor='#mdwTheme:vis-materialdesign.0.colors.input.text'\n\tmdw-inputLabelColor='#mdwTheme:vis-materialdesign.0.colors.input.label'\n\tmdw-inputLabelColorSelected='#mdwTheme:vis-materialdesign.0.colors.input.label_selected'\n\tmdw-inputLabelFontFamily='#mdwTheme:vis-materialdesign.0.fonts.input.label'\n\tmdw-inputLabelFontSize='#mdwTheme:vis-materialdesign.0.fontSizes.input.label'\n\tmdw-inputAppendixColor='#mdwTheme:vis-materialdesign.0.colors.input.appendix'\n\tmdw-inputAppendixFontSize='#mdwTheme:vis-materialdesign.0.fontSizes.input.appendix'\n\tmdw-inputAppendixFontFamily='#mdwTheme:vis-materialdesign.0.fonts.input.appendix'\n\tmdw-showInputMessageAlways='true'\n\tmdw-inputMessageFontFamily='#mdwTheme:vis-materialdesign.0.fonts.input.message'\n\tmdw-inputMessageFontSize='#mdwTheme:vis-materialdesign.0.fontSizes.input.message'\n\tmdw-inputMessageColor='#mdwTheme:vis-materialdesign.0.colors.input.message'\n\tmdw-inputCounterColor='#mdwTheme:vis-materialdesign.0.colors.input.counter'\n\tmdw-inputCounterFontSize='#mdwTheme:vis-materialdesign.0.fontSizes.input.counter'\n\tmdw-inputCounterFontFamily='#mdwTheme:vis-materialdesign.0.fonts.input.counter'\n\tmdw-clearIconColor='#mdwTheme:vis-materialdesign.0.colors.input.icon_clear'\n></div>","listItemHeight":""},"style":{"left":"368px","top":"1072px","width":"400px","height":"auto"},"widgetSet":"materialdesign"}]

Chris-656 added a commit to Chris-656/ioBroker.vis-materialdesign that referenced this issue Feb 6, 2022
* css default color variables added
* Icon Button Slider Widget added
* Button Toggle Widgets: bug fix for state on runtime load
* Value Widget: bug fix for show unit only if result is of type number
* Value Widget: bug fix for data ovveride
* IconList Widget: option to set minimal width for single item added
* IconList Widget: header added
* IconList Widget: color options added
* IconList Widget: added option for color and text of status bar if state is active
* List Widget: main header added
* List Widget: events bug fix
* documentation updated ([#PR179](Scrounger#179))
* Top App Bar Widget: fixed bugs found by sentry
* Top App Bar Widget: icon color bug fix if using json string
* Top App Bar Widget: selected item icon color option added
* Round Slider Widget: control bug fix
* Grid Views Widget: Bug fix for nested grid views widgets
* Masonry Views Widget: Bug fix for nested masonry views widgets
* Progress Widget: striped distance option added
* Advanced View in Widget widget added
* Advanced View in Widget 8 widget added
* Dialog Widget: background color bug fix on close animation
* Dialog Widget: option added to show a save button and write a value to a datapoint
* HTML Widget: bug fix for wrong type ([Scrounger#182](Scrounger#182))
* support for base64 images added
* bug fix for VIS Editor dev values

<!-- omit in toc -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant