@bigbinary/neeto-form-frontend 3.0.7 → 3.0.8

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/dist/index.cjs.js CHANGED
@@ -3033,11 +3033,13 @@ var Form = function Form(_ref) {
3033
3033
  questions: questions
3034
3034
  });
3035
3035
  var displayOrder = selectedQuestion.displayOrder + 1;
3036
+ var attributes = ramda.mergeLeft({
3037
+ displayOrder: displayOrder,
3038
+ isCloning: true
3039
+ }, values);
3036
3040
  var payload = _objectSpread$n({
3037
3041
  language: selectedLanguage,
3038
- neetoFormQuestion: ramda.mergeLeft({
3039
- displayOrder: displayOrder
3040
- }, values)
3042
+ neetoFormQuestion: attributes
3041
3043
  }, buildRequestArgs);
3042
3044
  createQuestion(payload, {
3043
3045
  onSuccess: function onSuccess(_ref2) {