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

Layout does not edit the ui-spacer node with editConfig #1571

Merged
merged 3 commits into from
Jan 10, 2025

Conversation

GogoVega
Copy link
Contributor

@GogoVega GogoVega commented Jan 9, 2025

Fixes https://discourse.nodered.org/t/bug-when-adding-spacer-dashboard-2/94316

Description

In #1516, the prefix to use in input element identifiers has been replaced by node-config-input.

Until now the layout treated ui-spacer as a normal node and edited it with RED.editor.edit() which uses thenode-input prefix. This is why the input is no longer prepared (the selection is missing).

Related Issue(s)

#1516

Checklist

  • I have read the contribution guidelines
  • Suitable unit/system level tests have been added and they pass
  • Documentation has been updated
    • Upgrade instructions
    • Configuration details
    • Concepts
  • Changes flowforge.yml?
    • Issue/PR raised on FlowFuse/helm to update ConfigMap Template
    • Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production

Labels

  • Includes a DB migration? -> add the area:migration label

@joepavitt
Copy link
Collaborator

Thanks @GogoVega!

@joepavitt
Copy link
Collaborator

I noticed the issue also existed for new spacers added as well, so just pushed a fix for that

@joepavitt joepavitt merged commit 5dc8466 into FlowFuse:main Jan 10, 2025
2 checks passed
@GogoVega GogoVega deleted the fix-ui-spacer-layout branch January 11, 2025 11:31
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

Successfully merging this pull request may close these issues.

2 participants