Light Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Node-RED: use msg.topic when Tag field is empty#2219

Merged
unocelli merged 2 commits intofrangoteam:masterfrom
smort82:node-red-tag-topic-fallback
Mar 8, 2026
Merged

Node-RED: use msg.topic when Tag field is empty#2219
unocelli merged 2 commits intofrangoteam:masterfrom
smort82:node-red-tag-topic-fallback

Conversation

Copy link
Contributor

smort82 commented Feb 25, 2026

Description

This PR updates the Node-RED get-tag and set-tag nodes to allow using msg.topic
as the tag reference when the Tag field in the UI is left empty.

Behavior:

  • If Tag field is set - use it
  • If Tag field is empty - fallback to msg.topic
  • Error only when both are missing

Backwards compatible: existing flows with Tag set are unchanged.


Type of Change

Please mark the relevant option:

  • Bug fix
  • [ x] New feature
  • Refactoring
  • Documentation
  • Other

Build Artifacts Check

Please confirm:

  • [x ] I did NOT commit /client/dist
  • [x ] I did NOT commit generated Angular build output
  • [ x] Only source files are included

Checklist

  • [x ] Code follows project coding standards
  • [x ] I tested my changes locally
  • [ x] Documentation updated if required
  • [x ] Issue opened (for major changes)

Documentation Checklist (if applicable)

  • The documentation builds locally with mkdocs serve
  • All links were tested
  • Images use relative paths (e.g. images/example.png)
  • No references to the old GitHub Wiki
  • Navigation updated in mkdocs.yml (if required)

Additional Notes

Add any other context or screenshots here.

unocelli merged commit c741a40 into frangoteam:master Mar 8, 2026
Copy link
Member

unocelli commented Mar 8, 2026

@smort82 Good job, Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants