Ok the user enters data in some field with validation and the validations says the data is wrong. The warning lights gone on and the button is gone/deactivated. How does the user close panel?
What I am I missing here?
Of course the validations are running. How can I as a user close the panel to find the right data? I can't. I'm stuck. So I delete the data again. But the field isn't allowed to be empty (hypothetically speaking). What now?
A field is not allowed to be empty, but I as user have no idea what goes into the field. I just opened a edit panel for a node. And immediately it's in error because some field can't be empty. Check the complete node for an example. It's in error when I pull it into the flow. Now I open the edit panel and have no idea what the complete node actually does. Now I can't close the panel because I want to read the help documentation on the complete node. No go. Too bad user, you screwed up, you should have read the documentation before opening the edit panel. Curiosity and cats, a dangerous mix.
(Btw the complete node is the third from the top in a default installation of NodeRED - there is a likelihood that a new user encounters the red-triangle of error before anything else because of the complete node is third from top.)
Now instead I could create an endless loop either using the status node or the complete node and nothing, absolutely nothing prevents me from doing that. All done buttons are there, no deploy warnings but my node red server melts.
Well that's nice. At least the done button is still there so that I can fix the problem ... hm what problem? Nothing in NodeRED is actually telling me what the problem is.
A far more interesting problem to solve is graph theory and to find potential endless loops within Node-RED flows. Now that would be something for which I would deactivate the deploy button! Hey User, you've just created a potential end less loop that might create molten metal of your NodeRED server, do you really want to deploy? If you do decide to deploy, here are the instructions of how to enter safe mode .....
But we'll deactivate the done button instead because a name field can't be empty (hypothetically speaking).