-
Notifications
You must be signed in to change notification settings - Fork 804
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
Forms: Allow ability to add hidden fields #40860
Draft
coder-karen
wants to merge
16
commits into
trunk
Choose a base branch
from
add/forms-hidden-field-option
base: trunk
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+448
−15
Draft
Changes from 8 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
d7025d0
add hidden fields PoC/draft
CGastrell bfe9d55
Allow form hidden fields with no values to be displayed on the front-…
coder-karen 7883243
Ensure new hidden field name / value pairs can be added with a button…
coder-karen 21a3c42
Ensure hidden field name duplicates result in a warning message.
coder-karen d37c00e
Remove previously added error_log and console.log, as well as fixing …
coder-karen b9c76d5
Use fixed-name hidden field to save organization ID, for salesforce v…
coder-karen 6326ba8
Ensure hidden fields are correctly located and not duplicated on CSV …
coder-karen 00c577b
Add new formID attribute for future extensibility
coder-karen 2b83b36
Move hidden fields check and add filters so fields can be dynamically…
coder-karen ab7b558
Allow for re-usable 'template' hidden fields.
coder-karen 00a6840
Removing salesforce org_id conversion to hiddenFields for now but lea…
coder-karen 40ce460
Remove formID attribute for now, but keep currentPostId from original…
coder-karen 02635a4
Filter cleanup: Correct documentation, ensuring one filter does not d…
coder-karen ec10b1e
Merge branch 'trunk' into add/forms-hidden-field-option
coder-karen 9551f1b
Further filter tweaks - ensuring name and value fields are in correct…
coder-karen 09a304b
Merge branch 'trunk' into add/forms-hidden-field-option
coder-karen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: minor | ||
Type: added | ||
|
||
Forms: add handling for hidden fields |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know we've used
grunion_
a lot in code (and probably filters) in the past but I thin we could move towardsjetpack_
prefix by now.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I noticed that later as well, but instead of changing it I've removed this filter entirely and will be replacing with another elsewhere. I'll send you a message when ready (shortly), as the PR isn't good for reviewing just yet (additional items to be removed as well, will cause confusion otherwise.).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool 👍 sorry for jumping early onto this, I appreciate it's in draft still :-)