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"
This commit is contained in:
bhongong 2013-09-20 21:12:59 +08:00
parent 5b3f8bc04d
commit 9fa8945f2a

View File

@ -19,7 +19,7 @@ add a `.cms-description-tooltip` class.
:::php
TextField::create('MyText', 'My Text Label')
->setDescription('More <strong>detailed</strong> help')
->addExtraClass('cms-help-tooltip');
->addExtraClass('cms-description-tooltip');
Tooltips are only supported
for native, focusable input elements, which excludes