`button` node not accepting what I am sending it

This is a message being sent to a button node.


note the part: "fondclr":"black"

This is the node:

[{"id":"86379535.4daef","type":"ui_button","z":"1c428643.6f708a","name":"Flow error Logging","group":"a044b2e1.8758a","order":1,"width":"1","height":"1","passthru":false,"label":"{{msg.txt}}","tooltip":"","color":"{{msg.fontclr}}","bgcolor":"{{msg.colour}}","icon":"","payload":"X","payloadType":"str","topic":"blah","x":880,"y":3470,"wires":[["abe54b8c.35f8e8","1830c78b.5a8468"]]},{"id":"a044b2e1.8758a","type":"ui_group","name":"Flow errors","tab":"a1877b46.0cc8c","order":8,"disp":true,"width":"6","collapse":false},{"id":"a1877b46.0cc8c","type":"ui_tab","name":"Logging","icon":"list","order":3,"disabled":false,"hidden":false}]

I have the dashboard set to use angular theme in ui_template but the text is always white.

Where's the elephant?

I get black XXX on green background.
You aren't overriding it with CSS in a template, maybe on a different tab but with type "
Added to site <head> section ?

Grrr very annoying to have my <head> severed!

1 Like


I tried it on another machine (just now) and it works.


I guess the question is now how do I allow the font colour to be controlled?
Where in the CSS stuff would I need to look?

Good question. Maybe search flows for .md-button

I seem to be good at digging myself into these Problems.

Searching soon.

Shall have to try your second option.

no md.button found in the flows.

Or disable other flows one by one and see if it goes away.

Note: ".md-button" != "md.button"

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.