function
Slug
Slug defines a required, unique, indexed text field whose value is generated from sourcePath until an author supplies a manual value. The source may be a direct string field or a string field beneath non-repeated groups.
Arguments
| Argument | Type | Description |
|---|---|---|
name | string | The name value. |
sourcePath | string | The sourcePath value. |
Returns
The declared result.
TextFieldFull signature
Related types
TextFieldTextField configures a Text, Code, or Textarea string field.