= value}),
                value: User.current.firstName
            }),
            m(&quot;label.label&quot;, &quot;Last name&quot;),
            m(&quot;input.input[placeholder=Last name]&quot;, {
                oninput: m.withAttr(&quot;value&quot;, function(value) {User.current.lastName = value}),
                value: User.current.lastName
            }),
            m(&quot;button.button[type=button]&quot;, &quot;Save&quot;),
        ])
    }
}
</code></pre>
<p>We added <code>oninput</code> events 