From 0b049818d8075a7dc6630dec1c3742e2c4f7edcc Mon Sep 17 00:00:00 2001 From: Bernhard Baumrock Date: Sat, 5 Sep 2015 14:21:51 +0200 Subject: [PATCH] Add Example to show that parent.title is also possible --- .../InputfieldPageAutocomplete.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wire/modules/Inputfield/InputfieldPageAutocomplete/InputfieldPageAutocomplete.module b/wire/modules/Inputfield/InputfieldPageAutocomplete/InputfieldPageAutocomplete.module index c12b7661..a3fd9c1f 100644 --- a/wire/modules/Inputfield/InputfieldPageAutocomplete/InputfieldPageAutocomplete.module +++ b/wire/modules/Inputfield/InputfieldPageAutocomplete/InputfieldPageAutocomplete.module @@ -360,7 +360,7 @@ _OUT; if(!$f->type instanceof FieldtypeText) continue; $notes .= ' ' . $f->name . ','; } - $field->notes = rtrim($notes, ','); + $field->notes = rtrim($notes, ',') . '; Example: parent.title title'; $fieldset->add($field); $inputfields->add($fieldset);