Add Java 1.17 version and version switcher

This commit is contained in:
Misode
2020-11-06 01:34:44 +01:00
parent 0b7e7c1203
commit c9165df29e
8 changed files with 101 additions and 15 deletions

View File

@@ -179,7 +179,6 @@ export const renderHtml: Hook<[any, Mounter], [string, string, string]> = {
(el as HTMLSelectElement).value = value ?? ''
el.addEventListener('change', evt => {
const newValue = (el as HTMLSelectElement).value
console.log("UPDATING NEW VALUE!", path.toString(), newValue)
path.model.set(path, newValue.length === 0 ? undefined : newValue)
evt.stopPropagation()
})