From 1b1e420bc5b79377c03e349ca125be4cda6cef32 Mon Sep 17 00:00:00 2001 From: bartbutenaers Date: Tue, 7 Jan 2025 23:00:38 +0100 Subject: [PATCH 1/2] buttongroup html option labels --- docs/nodes/widgets/ui-button-group.md | 2 +- nodes/widgets/locales/en-US/ui_button_group.html | 2 +- ui/src/widgets/ui-button-group/UIButtonGroup.vue | 6 ++++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/nodes/widgets/ui-button-group.md b/docs/nodes/widgets/ui-button-group.md index caaec8b5c..79c3449f3 100644 --- a/docs/nodes/widgets/ui-button-group.md +++ b/docs/nodes/widgets/ui-button-group.md @@ -9,7 +9,7 @@ props: Appearance: Specify whether the shape of the widget should be rectangular or have rounded corners. Use theme colors: Specify whether the theme colors should be used. If not active, custom colors can be specified for each option separately. Options: - description: Specify which options need to be displayed. Each option can specify a label, icon, value and color. + description: Specify which options need to be displayed. Each option can specify a label, icon, value and color. Html content is allowed for the labels. dynamic: true Topic: The text that needs to be send in the msg.topic field. Passthrough: Specify whether input messages should be passed through as output messages. diff --git a/nodes/widgets/locales/en-US/ui_button_group.html b/nodes/widgets/locales/en-US/ui_button_group.html index d2d9e7c1d..ab8627f4b 100644 --- a/nodes/widgets/locales/en-US/ui_button_group.html +++ b/nodes/widgets/locales/en-US/ui_button_group.html @@ -16,7 +16,7 @@

Properties

Options:
Specify which options need to be displayed: