+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).
0 commit comments