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
The JSON Schema produced by @types/[portal_type] currently only includes the field type, but no information about which widget should be used. This information should be included in the JSON Schema as well.
A custom widget for a field can be specified using a plone.autoform directive. That information then gets stored on the schema interface using tagged values, which should be easy to access and serialize.
The default widget however for a particular zope.schema field type is currently being determined by z3c.form, which means we might need to replicate some of z3c.form's logic.
The JSON Schema produced by
@types/[portal_type]
currently only includes the field type, but no information about which widget should be used. This information should be included in the JSON Schema as well.A custom widget for a field can be specified using a
plone.autoform
directive. That information then gets stored on the schema interface using tagged values, which should be easy to access and serialize.The default widget however for a particular
zope.schema
field type is currently being determined byz3c.form
, which means we might need to replicate some ofz3c.form
's logic./cc @ebrehault
The text was updated successfully, but these errors were encountered: