I am working on adding new protocols to LuCI to support mesh networks. So far I have a bare-bones batadv.js that displays most of the information I want.
In the registerProtocol section, I have a renderFormOptions call in order to set up what you can edit when you click on "Edit."
What I cannot seem to do is find a way to override some of the options that come in from interfaces.js and I cannot figure out how to hide them. A direct "getElement" and set to hidden isn't working right there.
Is there a straightforward way of removing or at least hiding some of the option fields that are inherited from interfaces.js?