diff --git a/mithril.js b/mithril.js index ff78c1ec..65a8a3cf 100644 --- a/mithril.js +++ b/mithril.js @@ -333,6 +333,9 @@ Mithril = m = new function app(window, undefined) { if (e.message.indexOf("Invalid argument") < 0) throw e } } + else if (attrName === "value" && tag === "input" && node.value !== dataAttr) { + node.value = dataAttr + } } return cachedAttrs }