-
Notifications
You must be signed in to change notification settings - Fork 3
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
Feature/stepper #40
Feature/stepper #40
Conversation
* main: release 1.2.0
index.js
Outdated
@@ -2,6 +2,8 @@ const fs = require('fs'); | |||
const path = require('path'); | |||
const connectMultiparty = require('connect-multiparty'); | |||
const fields = require('./lib/fields'); | |||
const recaptcha = require('./lib/recaptcha'); | |||
const process = require('./lib/process'); |
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 wouldn't call a variable process
because code in the module might need to access the process
global at some point.
{% set prependIfPrefix = apos.modules['@apostrophecms/form'].prependIfPrefix %} | ||
|
||
<div data-apos-form-groups class="apos-form-groups {{ prependIfPrefix('__groups') }}"> | ||
{% for group in data.widget.groups %} |
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.
Nice. I guess from the POV of the code that handles form submissions it just hoovers up the nested fields like everything else?
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.
Yep
index.js
Outdated
@@ -3,7 +3,7 @@ const path = require('path'); | |||
const connectMultiparty = require('connect-multiparty'); | |||
const fields = require('./lib/fields'); | |||
const recaptcha = require('./lib/recaptcha'); | |||
const process = require('./lib/process'); | |||
const processor = require('./lib/process'); |
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.
Please rename the file too, just for consistency, sorry 🙏
Summary
Add group widget
What are the specific steps to test this change?
What kind of change does this PR introduce?
(Check at least one)
Make sure the PR fulfills these requirements:
If adding a new feature without an already open issue, it's best to open a feature request issue first and wait for approval before working on it.
Other information: