statamic / ideas

💡Discussions on ideas and feature requests for Statamic
https://statamic.dev
31 stars 1 forks source link

Generate slug from multiple fields #938

Closed aerni closed 1 year ago

aerni commented 1 year ago

I think it would be a nice feature if we could generate the slug from multiple fields. Similar to how we can already do it with the title format of collection entries.

In this example, I want to generate the slug from the entry's title and date:

handle: slug
field:
  type: slug
  from: '{title} {date}'
jasonvarga commented 1 year ago

Duplicate of #532