Expose placeholder and description text in FormField GraphQL#13
Open
keramzyt wants to merge 6 commits intotoriphes:masterfrom
Open
Expose placeholder and description text in FormField GraphQL#13keramzyt wants to merge 6 commits intotoriphes:masterfrom
keramzyt wants to merge 6 commits intotoriphes:masterfrom
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds placeholder and descriptionText to the FormField interface and common field type definitions, with resolvers reading Ninja Forms settings (placeholder and desc_text/description).