Make text edit option/property disappear from sidebar the same way that instance property when a frame with boolean property is equal to false

When we make a boolean property for components in the new way, other property like instance swap disappear, what make the sidebar cleaner:
[“Sorry, new users can only put one embedded media item in a post.”]

But when we do this with text inside a container with the boolean property, the text field in the sidebar persists:
image

image

image