Samuel Degueldre
a122a94180
[IMP] qweb/components: remove t-ref on components
...
Refs to component expose a lot of implementation details that should be
private to parents. Parent to child communication should go through
props.
2021-11-10 13:36:13 +01:00
Bruno Boi
ca139166ab
[IMP] qweb: reintroduce t-tag directive
...
will not be compatible with t-model directive !
2021-11-09 16:36:03 +01:00
Bruno Boi
4bdfaf96f3
fixup! [IMP] qweb: introduce t-model directive
2021-11-03 15:25:21 +01:00
Bruno Boi
233c953243
[IMP] qweb: introduce t-model directive
...
supported modifiers: lazy, trim, number
2021-11-03 15:25:21 +01:00
Lucas Perais (lpe)
a1adfd5a1b
[FIX] qweb, component: remove support for t-on on component node
2021-10-27 13:38:35 +02:00
Lucas Perais (lpe)
dd4848f602
[FIX] qweb: t-key in t-foreach is mandatory, throws otherwise
2021-10-27 13:38:35 +02:00
Mathieu Duckerts-Antoine
ba2fe3ff55
[IMP] qweb: t-props directive
...
We reimplement the directive "t-props" and add some tests for it.
2021-10-20 15:52:43 +02:00
Mathieu Duckerts-Antoine
ee64de8b3f
[IMP] qweb: throw error when t-component is not used with a 't' tag
2021-10-20 15:16:22 +02:00
Mathieu Duckerts-Antoine
b8649f1add
[ADD] Translation feature
...
This commit brings back the possibility to translate text nodes and
the attributes "label", "title", "placeholder", and "alt" in an app
configured with a suitable translation function.
It is also possible to deactivate translations under a node via
the directive t-translation="off".
For flexibility it is possible to define the list of translatable
attributes in the app.
2021-10-20 15:16:12 +02:00
Géry Debongnie
7ac20f4fc2
[REF] initial prototype of owl 2
2021-10-20 15:11:25 +02:00