Skip to content

Commit

Permalink
Merge pull request #23 from peckadesign/oprava-vyplneni-dependentInputs
Browse files Browse the repository at this point in the history
Oprava vyplnění `dependentInputs` dle reponse serveru
  • Loading branch information
klobinoid authored Nov 19, 2019
2 parents 0444650 + 3e965b8 commit 799d9be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "pd-forms",
"title": "pdForms",
"description": "Customization of netteForms for use in PeckaDesign.",
"version": "3.0.1",
"version": "3.0.2",
"author": "PeckaDesign, s.r.o <support@peckadesign.cz>",
"contributors": [
"Radek Šerý <radek.sery@peckadesign.cz>",
Expand Down
6 changes: 3 additions & 3 deletions src/assets/pdForms.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @name pdForms
* @author Radek Šerý <radek.sery@peckadesign.cz>
* @version 3.0.1
* @version 3.0.2
*
* Features:
* - live validation
Expand Down Expand Up @@ -45,7 +45,7 @@

var pdForms = window.pdForms || {};

pdForms.version = '3.0.1';
pdForms.version = '3.0.2';


/**
Expand Down Expand Up @@ -357,7 +357,7 @@
var ev = document.createEvent('Event');
ev.initEvent('change', true, true);

input.value = payload[inputId];
input.value = payload.dependentInputs[inputId];
input.dispatchEvent(ev);
}
}
Expand Down

0 comments on commit 799d9be

Please sign in to comment.