a small incremental UI library for the web
javascript web ui
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Handle checked like value

garrison feaf6622 fdad64cc

+4
+4
js/commit.ts
··· 199 199 if (newVal === false || newVal === null || newVal === undefined) domNode.value = null; 200 200 else domNode.value = newVal; 201 201 } 202 + else if (fiber.type === 'input' && key === 'checked') { 203 + if (newVal === false || newVal === null || newVal === undefined) domNode.checked = false; 204 + else domNode.checked = true; 205 + } 202 206 else{ 203 207 if (newVal === false || newVal === null || newVal === undefined) domNode.removeAttribute(key); 204 208 else if (newVal === true) domNode.setAttribute(key, '');