From 9fa8945f2a11111196734c99d62f61a174b809ce Mon Sep 17 00:00:00 2001 From: bhongong Date: Fri, 20 Sep 2013 21:12:59 +0800 Subject: [PATCH] Fix "cms-description-tooltip" reference in code The instruction said to put "cms-description-tooltip" in the addExtraClass but in the sample code it is using "cms-help-tooltip" --- docs/en/howto/cms-formfield-help-text.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/howto/cms-formfield-help-text.md b/docs/en/howto/cms-formfield-help-text.md index 37f7c5b23..b8ee1e437 100644 --- a/docs/en/howto/cms-formfield-help-text.md +++ b/docs/en/howto/cms-formfield-help-text.md @@ -19,7 +19,7 @@ add a `.cms-description-tooltip` class. :::php TextField::create('MyText', 'My Text Label') ->setDescription('More detailed help') - ->addExtraClass('cms-help-tooltip'); + ->addExtraClass('cms-description-tooltip'); Tooltips are only supported for native, focusable input elements, which excludes @@ -27,4 +27,4 @@ more complex fields like `GridField`, `UploadField` or `DropdownField` with the chosen.js behaviour applied. Note: For more advanced help text we recommend using -[Custom form field templates](/topics/forms#custom-form-field-templates); \ No newline at end of file +[Custom form field templates](/topics/forms#custom-form-field-templates);