management-sdk icon indicating copy to clipboard operation
management-sdk copied to clipboard

slug generation

Open caburgoin opened this issue 4 years ago • 4 comments

I noticed that from the management sdk it is not possible or at least not documented on how to treat a slug type so that it generates the slug based on other field. e.g: generate slug based on post id or name

caburgoin avatar Oct 31 '21 06:10 caburgoin

I've been trying to use

formConfig: {
    config: {
      isLowercase: true,
      shouldGenerateAutomatically: true,
      automaticSlug: "{title}",
    },
  },

in add simple field. The field gets added, but the automatic slug generation is not working!

nrandell avatar Dec 10 '21 11:12 nrandell

Hey @nrandell the automatic slug "content" generation is UI based only. It would be great for us to support this at an API level too.

notrab avatar Dec 10 '21 16:12 notrab

👍🏽

joelpierre avatar Jan 27 '22 23:01 joelpierre

I'd love to see this in the SDK!

roman-contino avatar May 23 '22 13:05 roman-contino