Can't disable draft & publish in strapi content type

34 views Asked by At

Basically title. When I disable draft & publish from a content type and I click on finish, I get an error message in the API ID field that tells me that "this value is already in use by another content type".

error message I get

What is causing this error? I just want to disable the draft and publish option...

1

There are 1 answers

2
ccl0504 On

Seems it's a bug in the admin panel. You could either edit the schema.json file or disable the option while creating a new collection.

src/api/[collection]/content-types/[collection]/schema.json

  "options": {
    "draftAndPublish": false
  },

creating a new collection: enter image description here