Skip to content

Expose placeholder and description text in FormField GraphQL#13

Open
keramzyt wants to merge 6 commits intotoriphes:masterfrom
keramzyt:feat/expose-placeholder-description
Open

Expose placeholder and description text in FormField GraphQL#13
keramzyt wants to merge 6 commits intotoriphes:masterfrom
keramzyt:feat/expose-placeholder-description

Conversation

@keramzyt
Copy link
Copy Markdown

@keramzyt keramzyt commented Mar 6, 2026

Adds placeholder and descriptionText to the FormField interface and common field type definitions, with resolvers reading Ninja Forms settings (placeholder and desc_text/description).

Marek G. and others added 6 commits March 6, 2026 12:38
Adds placeholder and descriptionText to the FormField interface and common field type definitions, with resolvers reading Ninja Forms settings (placeholder and desc_text/description).

Co-Authored-By: Oz <oz-agent@warp.dev>
Adds settingsJson to FormField and all concrete field types, returning the full Ninja Forms field settings payload as JSON for automatic access to any setting key.

Co-Authored-By: Oz <oz-agent@warp.dev>
Introduces setting(name: String!) on FormField to access any raw Ninja Forms setting key without adding dedicated schema fields.

Co-Authored-By: Oz <oz-agent@warp.dev>
Updates vendor autoload artifacts so Field_Label_Pos_Enums is present in classmap and can be loaded in production installs.

Co-Authored-By: Oz <oz-agent@warp.dev>
Changes setting(name) argument to nullable String on both FormField interface and concrete field types to satisfy interface contract checks in WPGraphQL.

Co-Authored-By: Oz <oz-agent@warp.dev>
- make FormField explicitly implement Node\n- preserve common field definitions when merging dynamic Ninja Forms settings\n- sanitize dynamic descriptions to prevent callable-string introspection fatals

Co-Authored-By: Oz <oz-agent@warp.dev>
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