Skip to content

Commit 2e2b7d2

Browse files
committed
Complete tip in field layout element docs
1 parent c5f42ca commit 2e2b7d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/5.x/extend/field-layout-element-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Craft includes a handful of abstract types that can be extended to leverage spec
113113
- <craft5:craft\fieldlayoutelements\TextField> — General-purpose input element suitable for most scalar values. You can customize many of the underlying HTML element’s attributes via class properties—see below for an example.
114114

115115
::: tip
116-
Somewhat counterintuitively, the <craft5:craft\fieldlayoutelements\CustomField> class is _not_ intended to be extended. Craft automatically wraps each custom field instance with this layout element, exposing
116+
Somewhat counterintuitively, the <craft5:craft\fieldlayoutelements\CustomField> class is _not_ intended to be extended. Craft automatically wraps each custom field instance with this layout element, exposing actions and [indicators](#indicators-fields) that make sense for the field type. New [field types](field-types.md) should _not_ introduce their own field layout element type—instead, their `getInputHtml()` method should return all markup required for the field to function, and other field methods should signal what features it supports (like multiple instances or conditions).
117117
:::
118118

119119
### Ad-Hoc Elements

0 commit comments

Comments
 (0)