mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #2439 from bhongong/patch-1
Fix "cms-description-tooltip" reference in documentation example.
This commit is contained in:
commit
89cee10e0c
@ -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
|
||||
@ -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);
|
||||
[Custom form field templates](/topics/forms#custom-form-field-templates);
|
||||
|
Loading…
Reference in New Issue
Block a user