zesty-io / manager-ui

Content platform powering enterprise websites and applications
https://www.zesty.io
Other
41 stars 6 forks source link

Cannot create/add new dataset item error #2984

Closed gtllien closed 1 month ago

gtllien commented 1 month ago

Describe the bug User cannot create/add a new item in a dataset, there's a console error: Cannot read properties of undefined (reading 'indexOf')

To Reproduce Steps to reproduce the behavior:

  1. Go to a dataset content item
  2. Click on 'Create' or 'Create & Add New'
  3. Check browser's console error: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'indexOf')

Expected behavior User should be able to create or add new item in a dataset without any issues

Screenshots image

Additional context Customer reported issue

zcolah commented 1 month ago

@finnar-bin @agalin920

Note: Remember to remove the asterisks from the labels of Meta title and Meta description when making them optional for dataset items.