Open lalalilalalai opened 4 months ago
I can confirm it will only process name and slug when calling createItem, all custom fields are ignored. Version 2.0.0 of the npm package
I've fixed the issue in this PR: https://github.com/webflow/js-webflow-api/pull/121 however this probably isn't the way to go as the sources I've changed should be generated from your API, but for anyone looking for a quick fix, you can run npm install https://github.com/The-Any-Thing/js-webflow-api
Thanks! :)
Version: "webflow-api": "^2.0.0"
Code: index.ts:
interface ExtendedCollectionItemFieldData:
Steps to Reproduce:
Actual Result: Custom fields are not inserted into function createItem(), so in collection there are items with only filled name and slug collection_id: 65ddbfa206ec63a1e30afc07 and if the custom field in CMS is required, item fails to create:
Expected Result: Custom fields are inserted into function createItem()