voyager-admin/voyager

View on GitHub
docs/formfields/slug.md

Summary

Maintainability
Test Coverage
# Slug

The slug formfield generates a slugged version of another formfield.

## Options

### Placeholder

The text that will be shown when no slug is entered.

### Column

The column of the other formfield which provides the to-be-slugged value.

## Translations

A slug formfield can be translatable.  
Please make sure that the other formfield is translatable as well.

## Strict

Removes special characters except `A-Z` and `0-9`

## Lower

Convert all characters to lowercase.

## Replacement

The character(s) that will be used to replace whitespaces. Default `-`