You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#5465 is a good example of us needing to define some parameters that are used only for development or testing but which are not visible to the user. It would be nice to be able to define those in the spec for very clear visibility, but this is not a
Describe the solution you’d like
I would like a connector to be able to label its spec inputs as hidden:true and have the UI hide them e.g:
sherifnada
changed the title
Allow a connector to label an input in its spec as hidden or development
UI: Hide connector inputs labelled as hiddenAug 26, 2021
@sherifnada I understand why you may need it, however, I believe that it is actually not what should be handled on frontend side. Hiding the field actually means, that you want to totally remove this field ( don't validate it, don't display it ) and all of its descendants in case of the object. If it's going to be used for testing purposes only ( in dev only? ) it is not a problem to change spec and update connector.
Isn't it better to traverse the schema and return the proper schema to be displayed from the server? In this case, any other client that will use our API won't need to adjust the logic and know, that field with hidden is actually skipped field even if it's added into required section
Tell us about the problem you're trying to solve
#5465 is a good example of us needing to define some parameters that are used only for development or testing but which are not visible to the user. It would be nice to be able to define those in the spec for very clear visibility, but this is not a
Describe the solution you’d like
I would like a connector to be able to label its spec inputs as
hidden:true
and have the UI hide them e.g:The text was updated successfully, but these errors were encountered: