{
const form = html`<form onsubmit="return false;"> <span>Setting the value doesn't work</span>
<button name=random>random</button> <small> This doesn't work. I'm not sure how to programatically set the value like with @severo without rewriting the underlying input code. See version1. Or, adding a "random value" button to the numberBoxWithHistoryV2()</small>
</form>`;
form.random.onclick = () => {
console.log(mybox_v2.history);
viewof mybox_v2.value = Math.random()*1000;
console.log(mybox_v2.value);
mybox_v2.value = Math.random()*1000;
console.log(mybox_v2.value);
};
return form;
}