We get the following error when trying to use FilePicker from UI Kit for object store EAP.
[@formatjsformatjs/intl] An `id` must be provided to format a message. You can either: 1. Configure your build toolchain with [babel-plugin-formatjs]@formatjs FormatJS - Internationalize your web apps on the client & server ) or [@formatjs/ts-transformer]( FormatJS - Internationalize your web apps on the client & server ) OR 2. Configure your `e@formatjslint` config to include [eslint-plugin-formatjs]( FormatJS - Internationalize your web apps on the client & server ) to autofix this issue”
We’ve tracked the code fragment, that can be stand alone, that causes this error to:
<FilePicker
onChange={onFilePickerChange}
/>
Removing that works correctly.
The above code is pretty much verbatim what is in the doco:
return <FilePicker onChange={onChange} />;
Is there a bug here? what are we missing?
Cheers,
Peter.