The button stays greyed out if the text in the box doesn't parse as valid json so that's the first thing to check.
If you think it is valid, it is possible the event handling hasn't fired to get it to try parsing it. Type a couple characters in the box (and delete them). If that then enables the button, please let me know what browser you're using so I can investigate.
Nick
Did I screw up this new installation of node-red on a pi b+ everything works fine except I cannot import a flow (any flow) I paste in the code but the OK button stays greyed out, any ideas ?
--
http://nodered.org
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Nick
Max
I got caught by this one: seemingly it isn't valid JSON unless it ends with a newline. Move the cursor past the end of the pasted text and press return. The OK button should be enabled. I've been meaning to file a bug report about this. Also, IIRC, the dialog text refers to pasting a node, not a flow, which we found confusing. Naturally, this happened while demonstrating Node-RED to a neophyte...
Max