Repository navigation
docs: point the ui-slider dynamic Label at msg.ui_update.label - #2243
Merged
Steve-Mcl merged 2 commits intoOct 22, 2026
Merged
Conversation
Steve-Mcl
approved these changes
Oct 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow the Dynamic Properties table on the ui-slider page and you'll set a slider's label at runtime with
msg.ui_update.class. That's the Class row's payload, from further down the same table. The label doesn't move. What you get instead is a CSS class named after whatever text you sent.One character in the front-matter, in the EN page and the German one:
I've read this rather than driven it in a running dashboard, so take the runtime half from source:
UISlider.vue'sonDynamicPropertiescallsupdateDynamicProperty('label', updates.label), andclassisn't in that handler at all. Class gets applied centrally, so sendingui_update.classisn't a no-op - it just doesn't do what the Label row promises.The eleven other widget docs that document a dynamic Label all say
msg.ui_update.label. Every other row in ui-slider's own table names the key matching it's label, too. So, a copy-paste off the row below.German page has the same wrong key under
Beschriftung:, so that's in here as well. Same one character, no translating invovled.updates.labelis what the widget reads today, server side inui_slider.jsas well as in the Vue component, and thats been true since the handler was written. The node's own help text in the Node-RED editor already sayslabel. The docs page is the odd one out.