Hi fellow Retoolers,
I’m using @tryretool/custom-component-support
to build a Custom Component Library.
What works:
- Using
"entryPoint": "src/index.tsx"
works - My component renders correctly
- But
"settings"
are completely ignored (even though defined)
What doesn't work:
When switching to the "components"
+ "model"
format (per Retool v2 docs), I see errors during npm run deploy
like:
Cannot read properties of undefined (reading 'includes') [plugin generate-manifest]
The resulting manifest always shows "model": []
, and the setting never appears in the Retool UI.
Request:
- Is this a known limitation of
retool-ccl
? - Should
"model"
fields be registered automatically? - Is there a correct CLI version or flag I need?
By the way, the component is a fileuploader to Azure blob storage with support for file objects instead of having to deal with base64 which is heavy in client memory and cpu consumption when files are bigger than ~1gb especially...
Thanks in advance,