docs: warn about using id instead of this/parent in prop inheritance

This commit is contained in:
jean-emmanuel 2018-02-14 21:31:57 +01:00
parent 3b5411ea42
commit f5ec2ed067

View file

@ -6,6 +6,9 @@ Widgets can use each other's property values by using the following syntaxes:
- `@{parent.propertyName}`
- `@{widgetId.propertyName}` (where `widgetId` is the target widget's `id`)
!!! note
Don't use `widgetId` when targetting `this` or `parent`, it won't work.
`propertyName` can be any of the target widget's properties.
It can be used to: