mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
e5e7790530
Sometimes, HTML is slightly more subtle than what I initially expect. Rendering some html is simple, we have tags and attributes. However, once we add behaviour, then the situation is more complex: <input value="abc"/> is an input with an INITIAL value of "abc", but the attribute does not actually represent the CURRENT value of the input, which may be different if the user did change it. This is basically the difference between "attribute" and "property". So, when rendering html with owl, we sometimes want to actually set the property (current value), instead of the html attribute. This commit make sure that this is the case for inputs with the "value" attribute. closes #722