-
Notifications
You must be signed in to change notification settings - Fork 195
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
Include comments message in payload #14259
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #14259 +/- ##
==========================================
+ Coverage 69.57% 69.63% +0.05%
==========================================
Files 120 120
Lines 3412 3418 +6
Branches 1176 1174 -2
==========================================
+ Hits 2374 2380 +6
Misses 1013 1013
Partials 25 25 |
c96c6b8
to
9589c63
Compare
I tested this on another form, https://ubuntu-com-14259.demos.haus/ai#get-in-touch, and the |
Thanks @petesfrench, I've updated the ai and kafka forms to ensure that the payload includes the comments correctly. I think moving forward, whichever formfield that does not have "name" attributes should be encapsulated within a I updated the kafka forms so that |
@britneywwc Yes, that is exactly how dynamic-forms work. It might be worth while added a sort readme to the top of the dynamic-forms file, as this is often a source of problems. |
I've added some docstring to the dynamic-forms file. Let me know if I've missed out anything crucial. |
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.
Awesome work @britneywwc! LGTM!
Done
commentsFromLead
wasn't being added to the payloadcommentsFromLead
to payload if value isn't empty/templates/shared/forms/interactive/kafka.html
QA
Get in touch
buttonComments_from_lead__C
in payload isn't emptyIssue / Card
Fixes WD-14649
Screenshots
[If relevant, please include a screenshot.]
Help
QA steps - Commit guidelines