mod-build 4.0.97-beta.1 → 4.0.97-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## 4.0.97
|
|
4
4
|
|
|
5
|
-
-
|
|
5
|
+
- Added `HomeStories` to the default steps configuration in `get-default-trade-questions.js`. Also added support for `checkbox-group` fields (to support our HomeBuddy flows).
|
|
6
6
|
|
|
7
7
|
## 4.0.96
|
|
8
8
|
|
package/package.json
CHANGED
|
@@ -90,7 +90,7 @@ function mergeDefaultTradeQuestionsConfig(config, steps) {
|
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
if (field.fieldType === 'radio') {
|
|
93
|
+
if (field.fieldType === 'radio' || field.fieldType === 'checkbox-group') {
|
|
94
94
|
if (!field.errorMessage) {
|
|
95
95
|
field.errorMessage = 'Professionals need this info to generate a quote.';
|
|
96
96
|
}
|
|
@@ -159,7 +159,7 @@ function mergeDefaultTradeQuestionsConfig(config, steps) {
|
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
if (field.fieldType === 'radio') {
|
|
162
|
+
if (field.fieldType === 'radio' || field.fieldType === 'checkbox-group') {
|
|
163
163
|
if (!field.errorMessage) {
|
|
164
164
|
field.errorMessage = 'Professionals need this info to generate a quote.';
|
|
165
165
|
}
|