mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[FIX] qweb: add support for t-att-value on textareas
The code did not treat textareas in the same way as inputs. As a result, using t-att-value on a textarea did not work. closes #872
This commit is contained in:
+1
-1
@@ -705,7 +705,7 @@ export class QWeb extends EventBus {
|
||||
isProp = key === "selected" || key === "disabled";
|
||||
break;
|
||||
case "textarea":
|
||||
isProp = key === "readonly" || key === "disabled";
|
||||
isProp = key === "readonly" || key === "disabled" || key === "value";
|
||||
break;
|
||||
case "button":
|
||||
case "select":
|
||||
|
||||
Reference in New Issue
Block a user