[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:
Géry Debongnie
2021-07-03 08:08:30 +02:00
committed by aab-odoo
parent f4994a20d8
commit 52a200878a
2 changed files with 20 additions and 1 deletions
+1 -1
View File
@@ -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":