var script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'https://unpkg.com/react-trigger-change/dist/react-trigger-change.js';
document.head.appendChild(script);
var cap = document.querySelectorAll('input');
cap[1].value = 8.0000;
reactTriggerChange(cap[1]);
cap[1].dispatchEvent(new Event('blur', { bubbles: true }));