From ec908035170754d658d50dcf15aa8d06a631b3e9 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 14 Feb 2018 21:31:57 +0100 Subject: [PATCH] docs: warn about using id instead of this/parent in prop inheritance --- resources/docs/extras/property-inheritance.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/docs/extras/property-inheritance.md b/resources/docs/extras/property-inheritance.md index 8fbaf69b..e9c8ff8a 100644 --- a/resources/docs/extras/property-inheritance.md +++ b/resources/docs/extras/property-inheritance.md @@ -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: