We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 01c3c75 + b419dd3 commit 87776d8Copy full SHA for 87776d8
src/module.js
@@ -512,7 +512,9 @@ module
512
513
angular.forEach(item.formData, function(obj) {
514
angular.forEach(obj, function(value, key) {
515
- form.append(angular.element('<input type="hidden" name="' + key + '" value="' + value + '" />'));
+ var element = angular.element('<input type="hidden" name="' + key + '" />');
516
+ element.val(value);
517
+ form.append(element);
518
});
519
520
0 commit comments