Skip to content

Commit

Permalink
fix: add hmtl prototype for numbers elements
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre Haller committed Apr 27, 2020
1 parent 6de4669 commit e415936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/species/formFiller.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const getDefaultConfig = (randomizer) => {
const fillNumberElement = (element) => {
const number = randomizer.character({ pool: '0123456789' });
const newValue = element.value + number;
triggerSimulatedOnChange(element, newValue);
triggerSimulatedOnChange(element, newValue, window.HTMLInputElement.prototype);

return number;
};
Expand Down

0 comments on commit e415936

Please sign in to comment.