Skip to content

fix: Send factory as string in SchemaWidget and filter field types in types control panel#7930

Open
Shyam-Raghuwanshi wants to merge 1 commit intoplone:mainfrom
Shyam-Raghuwanshi:fix/schema-widget-factory-string
Open

fix: Send factory as string in SchemaWidget and filter field types in types control panel#7930
Shyam-Raghuwanshi wants to merge 1 commit intoplone:mainfrom
Shyam-Raghuwanshi:fix/schema-widget-factory-string

Conversation

@Shyam-Raghuwanshi
Copy link
Contributor

When adding a new field in the dexterity types schema editor (/controlpanel/dexterity-types//schema), the field factory was sent to the backend as an object (e.g. {value: "label_text_field", label: "Text"}) instead of a plain string, causing a "missing parameter factory" error. Additionally, form-only field types (like static_text, hidden, radio_group) were shown in the field type dropdown even though they don't have corresponding Plone field factories on the backend.

Ref: plone/plone.restapi#1969

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

Successfully merging this pull request may close these issues.

1 participant