Hello,
How can I get to use the Custom field edit (Preview) ? In the EAP/Preview generic documentation it is stated that it is opt-in and I should refer to its documentation to enable it but that documentation does not state anything about the process or registration (unlike some others, mostly EAP).
Thanks in advance,
1 Like
Hi @MagnusAnderssen,
You can opt into the Preview by including the CustomFieldEdit component in your app code. I suggest using the forge create → UI Kit → Custom Fields template which has this component pre-wired as a reference.
I can understand the confusion, as typically developers would sign up and we would manage allowlists for EAP and Preview features. I’ll review this internally with the team.
Regards,
Timothy
Thanks @TimothyVanDyke,
I tried that.
With typescript I was getting
Error: TypeScript errors in the app caused the bundling to fail. Fix the errors listed below before rerunning the command. [tsl] ERROR in /home/magnus/Work/forge/forge-file-field/forge/src/frontend/custom-fields/components/FileFieldContainer.tsx(4,33)
TS2307: Cannot find module '@forge/react/jira' or its corresponding type declarations.
I had to include in through a .js file for the lint/build to be happy.
I found my real issue: I was wrongly trying, don’t judge me, to render it in view mode and that is failing.
I changed my code and now I can see the tick and cross buttons.
Next step is to find some time to test it.
Magnus
1 Like