Fields are used to define most UI elements on a block. Examples of fields
include string labels, images, inputs for literal data such as strings and
numbers, and rich editors like date pickers and angle pickers.
Blockly provides several fields by default to handle a variety of user input.
These can be customized through field-specific configuration or with validators,
which tell a field how to handle specific content in a standard editor.
If you need a fully custom field it takes a bit more work and you'll want to
read most of the fields documentation. Start by learning about the parts
that make up a field or the overview of creating custom fields.
[null,null,["Last updated 2024-09-18 UTC."],[[["Fields are the primary components for defining UI elements within blocks, encompassing various input types like text, numbers, and specialized editors."],["Blockly offers a range of built-in fields that can be further tailored using configuration options or validators for content handling."],["For unique UI requirements, developers can create custom fields by understanding their structure and following the customization guidelines."]]],["Fields define UI elements on blocks, including labels, images, and data inputs like strings, numbers, date, and angles. Blockly offers built-in fields customizable through configuration or validators. For unique needs, users can develop custom fields. The documentation details built-in fields, validators, field anatomy, and custom field creation. If you want to show meta-information about a block, use an icon.\n"]]