Addon
Webtools Core
Describe the bug
Turning on documents.strictParams in api.js breaks the EditForm, because locale=null and thats not allowed.
It happens here:
https://github.com/pluginpal/strapi-webtools/blob/master/packages/core/admin/components/EditForm/index.tsx#L31
I don't use i18n, so it's null.
Steps to reproduce the behavior
- no i18n on the model
- webtools on the model
documents.strictParams in api.js
- go to a edit view
- see console errors and no Webtools section
Expected behavior
no break
Screenshots
No response
Code snippets
Node.js version
22
Package manager
Yarn
Strapi version
5.25
Plugin version
1.10
Database
sqlite
Operating system
macos
Additional context
No response
Addon
Webtools Core
Describe the bug
Turning on
documents.strictParamsinapi.jsbreaks the EditForm, becauselocale=nulland thats not allowed.It happens here:
https://github.com/pluginpal/strapi-webtools/blob/master/packages/core/admin/components/EditForm/index.tsx#L31
I don't use i18n, so it's null.
Steps to reproduce the behavior
documents.strictParamsinapi.jsExpected behavior
no break
Screenshots
No response
Code snippets
Node.js version
22
Package manager
Yarn
Strapi version
5.25
Plugin version
1.10
Database
sqlite
Operating system
macos
Additional context
No response