Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hzik authored Oct 27, 2021
1 parent 5dd2766 commit 101331a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ You need to specify the `repeater` url, `generates_from` and `codename` paramete
```
- `repeater` -> A URL of a service you host on your server and that forwards JSON from Preview API based on "/items?elements.<url_slug_codename>[contains]=<url_slug_value>&depth=0" query
- `generates_from` -> A codename of a source Text element you want your url slug to be generated from
- `codename` -> A codename of your Custom URL Slug element
- `codename` -> A codename of your Custom URL Slug element (same codename across all types you want to check the uniqueness for)
- `force_uniqueness` -> A true/false value that generates extra postfix to the url slug value in case the url slug is not unique
- `restricted_chars` -> A set of characters (RegEx) you want the url slug to be restricted to

## Saved Value

The value is saved as an array of [<url_slug_value>, <autogenerated/manual>] so you know whether the value was generated automatically from the source element or whther it was entered manually:
The value is saved as an array of [<url_slug_value>, <autogenerated/manual>] so you know whether the value was generated automatically from the source element or whether it was entered manually:

```json
["abc","[manual]"]
Expand Down

0 comments on commit 101331a

Please sign in to comment.