trigger = (el, type) => {
  const e = document.createEvent('HTMLEvents');
  e.initEvent(type, true, true);
  el.dispatchEvent(e);
}
Notifies Vue about internal value change
@see https://github.com/vuejs/Discussion/issues/157#issuecomment-273301588

@param {HTMLInputElement} el
@param {string}           type