plone / plone.restapi

RESTful API for Plone.
http://plonerestapi.readthedocs.org/
86 stars 78 forks source link

Make @types endpoint provide a 'mode' attribute for widget visibility. #198

Closed tisto closed 7 years ago

tisto commented 7 years ago

Currently there is no way to hide a widget, we need a boolean "visible" attribute for hidden fields. cc @ebrehault

tisto commented 7 years ago

We might want to re-use the z3c.form concept of a "mode" attribute that can be input|display|hidden:

http://docs.plone.org/develop/addons/schema-driven-forms/form-types/display-forms.html

ebrehault commented 7 years ago

+1

tisto commented 7 years ago

Pull request: https://github.com/plone/plone.restapi/pull/204

tisto commented 7 years ago

Solved in https://github.com/plone/plone.restapi/pull/237