@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.js CHANGED
@@ -2954,11 +2954,13 @@ var Form = function Form(_ref) {
2954
2954
  questions: questions
2955
2955
  });
2956
2956
  var displayOrder = selectedQuestion.displayOrder + 1;
2957
+ var attributes = mergeLeft({
2958
+ displayOrder: displayOrder,
2959
+ isCloning: true
2960
+ }, values);
2957
2961
  var payload = _objectSpread$n({
2958
2962
  language: selectedLanguage,
2959
- neetoFormQuestion: mergeLeft({
2960
- displayOrder: displayOrder
2961
- }, values)
2963
+ neetoFormQuestion: attributes
2962
2964
  }, buildRequestArgs);
2963
2965
  createQuestion(payload, {
2964
2966
  onSuccess: function onSuccess(_ref2) {