Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dex does not properly create field sets #78

Open
rileydog opened this issue Feb 8, 2018 · 0 comments
Open

Dex does not properly create field sets #78

rileydog opened this issue Feb 8, 2018 · 0 comments

Comments

@rileydog
Copy link

rileydog commented Feb 8, 2018

What I did:
in dex: create new CT; add fieldset; click on tab for this new FS; and add a field. Repeat for second FS.
I tested by creating a new instance of the CT. The fieldsets did not display properly.
Then I reviewed the schema, Below is the schema: Note both FS are empty.

For complete discussion please see here (note: discussion on this issue is at the end of the discussion):
https://community.plone.org/t/dexterity-cts-dont-display-tabs-created-using-field-sets/5740/17

<?xml version="1.0" encoding="utf-8"?>
<model xmlns:form="http://namespaces.plone.org/supermodel/form" xmlns:i18n="http://xml.zope.org/namespaces/i18n" xmlns:lingua="http://namespaces.plone.org/supermodel/lingua" xmlns:marshal="http://namespaces.plone.org/supermodel/marshal" xmlns:security="http://namespaces.plone.org/supermodel/security" xmlns:users="http://namespaces.plone.org/supermodel/users" xmlns="http://namespaces.plone.org/supermodel/schema">
  <schema>
    <field name="field_added_to_fs_1" type="zope.schema.TextLine">
      <description>this should be inside FS 1</description>
      <required>False</required>
      <title>field added to FS 1</title>
    </field>
    <field name="inside_fs_2" type="zope.schema.TextLine">
      <description />
      <required>False</required>
      <title>inside FS 2</title>
    </field>
    <fieldset name="field_set_one" label="field set one" description="this is a fieldset" />
    <fieldset name="fieldset_2" label="fieldset 2" />
  </schema>
</model>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant