[IMP] qweb: introduce t-model directive

supported modifiers: lazy, trim, number
This commit is contained in:
Bruno Boi
2021-11-02 11:29:23 +01:00
committed by Géry Debongnie
parent ee5ad354ff
commit 233c953243
48 changed files with 1589 additions and 851 deletions
+3 -3
View File
@@ -144,10 +144,10 @@ export function isProp(tag: string, key: string): boolean {
case "option":
return key === "selected" || key === "disabled";
case "textarea":
return key === "readonly" || key === "disabled";
break;
case "button":
return key === "value" || key === "readonly" || key === "disabled";
case "select":
return key === "value" || key === "disabled";
case "button":
case "optgroup":
return key === "disabled";
}