Form control: Auto Slug
The autoSlug
control is a control that will automatically create a "slug" version of the text entered in another field as you type.
Arguments
basedOn (required) | Field name that this auto slug field should create a slug from, e.g. "title" |
---|---|
placeholder (optional) | Placeholder text for the input |
Example
<field name="title" control="textinput"/>
<field name="slug" control="autoSlug" basedOn="title" />