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);